[ODE] weird plane behavior

Daniel K. O. danielko.listas at gmail.com
Thu Apr 5 12:48:44 MST 2007


Martijn Faassen escreveu:
> vertical: 1, 0, 0, 10
>
> I would expect this plane to be 10 units in the x direction.

Unfortunatelly, the planes in ODE aren't planes; they are half-spaces.
Anything moving inside the half-space tends to be "ejected". So
multiply the whole plane equation by -1 to get a "plane facing the
other side" (i.e. negate the plane normal).

Congratulations, you were now chosen as a volunteer to update the Wiki
with this detail:
http://opende.sourceforge.net/wiki/index.php/Manual_%28Collision_Detection%29#Plane_Class


PS: OGRE got accepted for mentoring Google SOC, ODE could also become
one next time. At least someone to update all the docs.

---
Daniel K. O.



More information about the ODE mailing list