[ODE] Empty bodies crash with trimesh

Jeff Kershner jeff at jeffkershner.com
Mon Aug 28 12:24:36 MST 2006


My physics geometry for a non-moveable test world is a single node in OSG
with 4 "geometries."   I create these 4 geometries as trimeshes and do not
associate bodies with them.

 

The problem is that in the NearCallback function, dBodyID b1 and dBodyID b2
are both NULL and dCollide crashes.

 

I think this has to do with a wall intersecting a floor and both don't have
bBodyIDs.

 

Do I need to check for b1 and b2 both being null and exit that collision
callback function?

 

Or is there something else wrong?

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://q12.org/pipermail/ode/attachments/20060828/99e13cec/attachment.htm


More information about the ODE mailing list