Open csimo005 opened 2 years ago
Is the angular damping supposed to take negative values? Not sure, just shooting from the hip.
Ive had similar issues, when dealing with situations where multiple contacts can be generated between a single pair of bodies; they are updated together which compromises unconditional stability. Hacking in some contact compliance can be one simple fix; but im not positive thats your issue here.
EDIT: that is, fiddle a positive constant into here instead of the zero. Note you might need to do this in to TwoWayCollider class lower in the code as well if the problem arises between the two bodies rather than with the ground plane.
I am trying to implement my own simulation of a robot claw. I have an issue where for some reason all the bodies are exploding. This is odd to me because it only happens when I include all bodies together, pictured below. If I only include one claw it works just fine and all the joints work as expected. But for some reason I don't understand including both claws will cause the bodies to spontaneously explode away from each other at high speed. Additionally I have found that I can include both claws if I don't include a link to the ground plane. Is this a problem with my approach or is this a bug? I am unsure how investigate further and would appreciate any advice.