My problems with Kinematic Character control
Posted: Thu Nov 13, 2008 6:46 pm
Hi, I am having problems with Kinematic Character control. I set up my character as a rigid body and set the collision flags to be a kinematic object, I can get it to move and collide with other (dynamic) objects, but the problem is this.....
What should I be calling to actually move the object?
When I use btRigidBody->SetWorldTransform() it leaves a "ghost" object where the original player rigid body was created.
When I use btMotionState->SetWorldTransform() no "ghost" but there is a "jitter"...the character vibrates (usually on the z axis)
And when I use both at the same time the collision response for the dynamic objects seems to double.
Any help would be appreciated!!!
What should I be calling to actually move the object?
When I use btRigidBody->SetWorldTransform() it leaves a "ghost" object where the original player rigid body was created.
When I use btMotionState->SetWorldTransform() no "ghost" but there is a "jitter"...the character vibrates (usually on the z axis)
And when I use both at the same time the collision response for the dynamic objects seems to double.
Any help would be appreciated!!!