[ODE] CCD Library (Re: High speed rigid body collisions)
erwin at erwincoumans.com
erwin at erwincoumans.com
Thu Jun 2 12:11:13 MST 2005
>So the objects "stay at the right side"...
No it isn't. If the object moves in one frame from one to the other side, no
collision will be detected. So your solution, back stepping with bisection,
doesn't work.
Patrick Enoch Hendrix_ at gmx.net wrote:
>I am also using "continuous" physics with ODE. Roughly it is like this:
>
>accept=false;
>while (!accept)
>{
> savestate();
> step( dt );
> collide();
> if (max_collision_depth > threshold)
> {
> accept=false;
> dt *= 0.5;
> restorestate();
> }
> else
> {
> accept=true;
> dt *= 1.5;
> if (dt > maxdt)
> dt=maxdt;
> }
>}
>
>So the objects "stay at the right side"...
>
>-Patrick
More information about the ODE
mailing list