[ODE] Contact Direction
remi.chaignon at gmail.com
Thu Oct 25 15:42:29 MST 2007
I would like to know how to get the direction vector of a contact.
In the Nearcallback, in the contact loop, I set the contact surface mode to
"dContactFDir1". Once the contact is created, I want to check the position
and the direction of the contact, the position (contacts[i].geom.pos) is
correct, but it seems that the direction (contacts[i].fdir1) hasn't been
What am I doing wrong here? Is that how I can get the direction of the
Thanks for your help,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ODE