I have a platform with btBoxShape as shape, and I want to rotate it every certain amount of time to simulate a rotating platform.
Right now I rotate it with Ogre (my rendering engine) and use a custom btMotionState to synchronize it with bullet. The thing is that when a player goes on top of it (a player is a btRigidBody with mass 1) the body should stay in the same coordinate relative to the platform and rotate with it. Right now it is kinda bugged and it doesn't rotate properly, and I don't know the exact cause.
What should I do to achieve this effect?
Here is a video with an example of what I want to do: http://youtu.be/z60jiGldX48?t=1m2s