[ODE] flying objects

Jon Watte (ODE) hplus-ode at mindcontrol.org
Thu Feb 22 10:30:05 MST 2007


Because it's a physical simulation, that will be hard. What you will 
want to do for things like gates or jumps, is to apply forces to make 
the body move in the direction you want it.

For a jump, you can apply a single, large impulse in the up direction. 
dBodyAddForce(body, 0, 10000, 0);
The actual value of the force depends on mass, time step size, and how 
high you want to jump.

Cheers,

          / h+


chaya wrote:
> Could someone advice me how to lift a boddy  off the ground
> for a fraction of time, and then return it to its initial position?
>  



More information about the ODE mailing list