From 9bb87232a16e3551f8a2e9029c1a9a25aa761015 Mon Sep 17 00:00:00 2001 From: enn0x Date: Sun, 7 Aug 2011 18:26:01 +0000 Subject: [PATCH] Removed kinematic flag from BulletCharacterController. Thanks to AL.dev for hinting me at this unnecessary flag. --- panda/src/bullet/bulletCharacterControllerNode.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/panda/src/bullet/bulletCharacterControllerNode.cxx b/panda/src/bullet/bulletCharacterControllerNode.cxx index dd2f3fcc34..37ea75af89 100644 --- a/panda/src/bullet/bulletCharacterControllerNode.cxx +++ b/panda/src/bullet/bulletCharacterControllerNode.cxx @@ -41,8 +41,7 @@ BulletCharacterControllerNode(BulletShape *shape, float step_height, const char _ghost->setWorldTransform(trans); _ghost->setInterpolationWorldTransform(trans); _ghost->setCollisionShape(convex); - _ghost->setCollisionFlags(btCollisionObject::CF_CHARACTER_OBJECT - | btCollisionObject::CF_KINEMATIC_OBJECT); + _ghost->setCollisionFlags(btCollisionObject::CF_CHARACTER_OBJECT); // Setup up axis _up = get_default_up_axis();