Contact Direction
"Rémi Chaignon" <[email protected]> Thu, 25 Oct 2007 23:42:29 +0100
| Newsgroups | gmane.comp.lib.ode |
|---|---|
| Message-ID | <[email protected]> |
Hi all, 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 set. What am I doing wrong here? Is that how I can get the direction of the contact? Thanks for your help, Remi. _______________________________________________ ODE mailing list [email protected] http://ode.org/mailman/listinfo/ode