mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
Removed kinematic flag from BulletCharacterController. Thanks to AL.dev for hinting me at this unnecessary flag.
This commit is contained in:
parent
6335c11050
commit
9bb87232a1
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user