Kinematic character on moving platform. Is it possible?

ihar3d
Posts: 25
Joined: Wed Jan 23, 2008 11:28 am

Kinematic character on moving platform. Is it possible?

Post by ihar3d »

Hello!

Our company is very interested to use Bullet physics for our commercial project, as it is very good physics engine. But there is a problem.

There are moving object (ship) with a few avatars on it in the scene. I think that the best choose for ship is to use KINEMATIC object, and of course KINEMATIC CHARACTER CONTROLLER for avatars. But unfortunately avatars do not move with ship, they slide and fall down from it, when ship moves.

So is there some way to solve this problem?

Thanks in advance for the help!
pico
Posts: 229
Joined: Sun Sep 30, 2007 7:58 am

Re: Kinematic character on moving platform. Is it possible?

Post by pico »

To me best knowledge bullet can't handle that without extra code.
Also other physic packages i tested don't handle that out of the box.

You need some kind of character controller for your avatars. This should have its own dynamics that are not influenced by bullet.
This character must be aware of the body it is standing on. Search for "elevator" or "moving plattform" in the forums to get more ideas.
ihar3d
Posts: 25
Joined: Wed Jan 23, 2008 11:28 am

Re: Kinematic character on moving platform. Is it possible?

Post by ihar3d »

Thanks for the information pico. I will write here if will be some solution.