[ODE] Swept collisions?

Dave Kerr aidave at telus.net
Tue Sep 30 03:26:25 MST 2003


Perhaps a flag on objects, like the NoGravity flag, have a CollisionSweep
flag.  Not every object needs it, and only those at a high velocity.  The
pendulum example is a good one, but the high velocity objects that really do
move in a straight line, even in short time steps.

I think a good starting point is the sphere class.  Create a cylinder out of
its trajectory and find the collision.

Maybe another approach is to bullets is not use spheres, but create
elongated cylinders that adjust their length to match step size vs velocity.

 (Just throwing out some ideas).

Dave




More information about the ODE mailing list