From 4bb0df7060329390890d74ede7ec848eef552b16 Mon Sep 17 00:00:00 2001 From: Bastiaan Olij Date: Tue, 23 Apr 2019 21:51:56 +1000 Subject: Center shape according to logic Bullet applies --- doc/classes/HeightMapShape.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/classes') diff --git a/doc/classes/HeightMapShape.xml b/doc/classes/HeightMapShape.xml index 5ffeda1c10..9968551b7a 100644 --- a/doc/classes/HeightMapShape.xml +++ b/doc/classes/HeightMapShape.xml @@ -1,10 +1,10 @@ - Height map shape for 3D physics (bullet only) + Height map shape for 3D physics (Bullet only). - Height map shape resource, which can be added to a [PhysicsBody] or [Area]. + Height map shape resource, which can be added to a [PhysicsBody] or [Area]. Note that bullet will always center the collision shape. If you minimum height is 0, and you maximum height is 10, bullet will adjust your collision shape down so the minimum height is -5 and the maximum height is 5. -- cgit v1.2.3 From e4dea0595aae76de254502bca714b9e54e46b74a Mon Sep 17 00:00:00 2001 From: Bastiaan Olij Date: Thu, 25 Apr 2019 13:03:48 +1000 Subject: Add transform support to deal with Bullets centering of shapes --- doc/classes/HeightMapShape.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/classes') diff --git a/doc/classes/HeightMapShape.xml b/doc/classes/HeightMapShape.xml index 9968551b7a..22896535b9 100644 --- a/doc/classes/HeightMapShape.xml +++ b/doc/classes/HeightMapShape.xml @@ -4,7 +4,7 @@ Height map shape for 3D physics (Bullet only). - Height map shape resource, which can be added to a [PhysicsBody] or [Area]. Note that bullet will always center the collision shape. If you minimum height is 0, and you maximum height is 10, bullet will adjust your collision shape down so the minimum height is -5 and the maximum height is 5. + Height map shape resource, which can be added to a [PhysicsBody] or [Area]. -- cgit v1.2.3