Tips for mass of children that compose a CompoundBody?
Posted: Sun Apr 05, 2009 7:15 pm
I've noticed that if I specify masses that are too small for the children of a CompoundBody, then the Entity representing the CompoundBody ends up with a bunch of NaNs in various member variables. From what I can tell, the only thing that really affects (prevents) it, is increasing the mass of the children.
If I don't specify a mass, and the child defaults to infinity, that also causes a problem. In my particular case, I'm only adding one child to the CompoundBody and the mass is a reasonable (or so I thought) 1.0f.
Just looking for some general guidelines regarding this. Thanks.
If I don't specify a mass, and the child defaults to infinity, that also causes a problem. In my particular case, I'm only adding one child to the CompoundBody and the mass is a reasonable (or so I thought) 1.0f.
Just looking for some general guidelines regarding this. Thanks.