moving platforms in a game

gary herman <[email protected]>
Newsgroups gmane.comp.lib.ode
Message-ID <[email protected]>
I'm trying to implement a moving platform, which my character
can jump on and move along with the platform.

The platform currently is only a geometry, which is being moved
using dGeomSetPosition.  Currently the character correctly collides
with the moving platform but doesn't move with it.

Should I make the moving platform a body attached to the static
world geometry with a slider joint?  I'm afraid doing this will cause
the platform to fall when the character's weight lands on it.

Or should I use a dContactMotion1 contact joint, and calculate the 
velocity of the moving platform, and use that as the motion1 variable?
I've been struggling to get this to work correctly.

If anyone has already solved this problem,  please let me know...

Thanks
 - gary 

 
gary herman 
technical director
gaia industries
[email protected]
212 673 3613

_______________________________________________
ODE mailing list
[email protected]
http://ode.org/mailman/listinfo/ode
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.