[ODE] Quick ODE question from an ODE newbie.
Jon Watte (ODE)
hplus-ode at mindcontrol.org
Mon Sep 3 10:02:45 MST 2007
Yes, 0 is never an ID that will be returned. Internally, the "ID" values
are actually pointers to objects.
Cheers,
/ h+
Jeremy Roberts wrote:
> Hello fellow ODE users,
> I have a quick ODE question from an ODE newbie. I could sort for
> hours through the code possibly and find the answers to these but in
> truth there may be things I missed or overlooked due to internal
> workings and this is critical.
> Question) In theory I am thinking in my engine design of using
> safe pointers for ODE bodies/geoms/joints etc. except rather than
> delete them I would destroy the related type.
> I need to know if there is a value for
> ids (bodies/geoms/joints/worlds etc.) that will never be taken (likely
> 0 if there is one) such that the conditional for destruction
> will properly "safe destroy".
More information about the ODE
mailing list