[ODE] Geom offset when not attached to a body
Jon Watte (ODE)
hplus-ode at mindcontrol.org
Mon Aug 28 10:58:19 MST 2006
Arturo Colorado Garín wrote:
> Is it really necessary to have a body in order to make the geom offset
> feature work? Or is it a kind of implementation bug?
>
Yes, it is necessary; else the matrix that the geom uses will be the
actual transform for the geom.
You just have to offset your geom position by whatever the offset is you
want, before you call dGeomSetPosition(). Remember to account for rotation.
More information about the ODE
mailing list