summaryrefslogtreecommitdiffstats
path: root/modules/bullet/collision_object_bullet.h
diff options
context:
space:
mode:
authorAndreaCatania <info@andreacatania.com>2018-01-08 01:22:54 +0100
committerAndreaCatania <info@andreacatania.com>2018-01-08 16:44:33 +0100
commit50c99370d2a8bf109469fe1c97d45c8d6303f1ef (patch)
tree99698838cb2bb32df303a9cd08a6a41f73008dba /modules/bullet/collision_object_bullet.h
parent29e68aa40e3effa1946b3889021b8c61a933c05c (diff)
downloadredot-engine-50c99370d2a8bf109469fe1c97d45c8d6303f1ef.tar.gz
Fixed Bullet collision shapes scale
Diffstat (limited to 'modules/bullet/collision_object_bullet.h')
-rw-r--r--modules/bullet/collision_object_bullet.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/bullet/collision_object_bullet.h b/modules/bullet/collision_object_bullet.h
index a9b8aee019..506976eabf 100644
--- a/modules/bullet/collision_object_bullet.h
+++ b/modules/bullet/collision_object_bullet.h
@@ -72,6 +72,7 @@ public:
ShapeBullet *shape;
btCollisionShape *bt_shape;
btTransform transform;
+ btVector3 scale;
bool active;
ShapeWrapper() :
@@ -102,6 +103,7 @@ public:
shape = otherShape.shape;
bt_shape = otherShape.bt_shape;
transform = otherShape.transform;
+ scale = otherShape.scale;
active = otherShape.active;
}