summaryrefslogtreecommitdiffstats
path: root/modules/bullet/collision_object_bullet.h
diff options
context:
space:
mode:
authorBastiaan Olij <mux213@gmail.com>2019-04-25 13:03:48 +1000
committerBastiaan Olij <mux213@gmail.com>2019-05-07 22:43:10 +1000
commite4dea0595aae76de254502bca714b9e54e46b74a (patch)
treef8fecbce5e87dd83b0d24c8599a03e9b76b0d1bb /modules/bullet/collision_object_bullet.h
parent4bb0df7060329390890d74ede7ec848eef552b16 (diff)
downloadredot-engine-e4dea0595aae76de254502bca714b9e54e46b74a.tar.gz
Add transform support to deal with Bullets centering of shapes
Diffstat (limited to 'modules/bullet/collision_object_bullet.h')
-rw-r--r--modules/bullet/collision_object_bullet.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/bullet/collision_object_bullet.h b/modules/bullet/collision_object_bullet.h
index e65bc52caf..c9430bec18 100644
--- a/modules/bullet/collision_object_bullet.h
+++ b/modules/bullet/collision_object_bullet.h
@@ -109,6 +109,7 @@ public:
void set_transform(const Transform &p_transform);
void set_transform(const btTransform &p_transform);
+ btTransform get_adjusted_transform() const;
void claim_bt_shape(const btVector3 &body_scale);
};