[ODE] dBodyDestroy
coberr at scottsdaleins.com
coberr at scottsdaleins.com
Mon Feb 14 15:56:57 MST 2005
I would like to destroy bodies during collision if certain conditions
exist. However, if I call dBodyDestroy from within my space collide
callback, I get the "Invalid operation for geom in locked space error"
within the collision_kernel.cpp.
I was considering pushing all of the pending bodies to be destroyed onto a
temporary stack and deleting them after collision detection.
Is this the best approach to destroying bodies?
Thanks in advance for any help or advice
More information about the ODE
mailing list