[ODE] Boxes floating in a plane
Jon Watte (ODE)
hplus-ode at mindcontrol.org
Thu Nov 9 12:25:05 MST 2006
Tim Sorrells wrote:
> with the current object? Even if an object smacked into the corner of a
> room, penetrating with the floor and 2 walls simultaneously, you would
> simply move it back along its velocity vector until it was only just
> touching a wall. Then of course you would apply the regular collision
> response dynamics.
This is along the lines of a swept-volume engine, which is something
different than what ODE is.
The problem with stopping at first contact is that you get into trouble
when two moving objects intersect -- you have to find the common
earliest impact. When you scale this up to N objects in a pile, all the
objects would find impacts at the beginning of their timestep, and never
make any progress.
More information about the ODE