Removed kinematic flag from BulletCharacterController. Thanks to AL.dev for hinting me at this unnecessary flag.

This commit is contained in:
enn0x 2011-08-07 18:26:01 +00:00
parent 6335c11050
commit 9bb87232a1

View File

@ -41,8 +41,7 @@ BulletCharacterControllerNode(BulletShape *shape, float step_height, const char
_ghost->setWorldTransform(trans); _ghost->setWorldTransform(trans);
_ghost->setInterpolationWorldTransform(trans); _ghost->setInterpolationWorldTransform(trans);
_ghost->setCollisionShape(convex); _ghost->setCollisionShape(convex);
_ghost->setCollisionFlags(btCollisionObject::CF_CHARACTER_OBJECT _ghost->setCollisionFlags(btCollisionObject::CF_CHARACTER_OBJECT);
| btCollisionObject::CF_KINEMATIC_OBJECT);
// Setup up axis // Setup up axis
_up = get_default_up_axis(); _up = get_default_up_axis();