I’m working on a human character animation control system built using Panda3D for the games/graphics side of things, and I’m trying to figure out if there’s a way to implement a restriction that’d stop the character from moving an arm through the chest or thigh etc.
The two direct ways I could think of doing this included a physics-based one where the outer layer of the character model becomes a surface that can’t be -
The other was to come up with a way to detect if there’s overlap between parts of the character mesh/measure how much overlap there are.
Could someone please point me to whether there’s already a method in Panda3D to do that? Or perhaps point me to which points in the API might allow me to find out if there’s overlap between specified parts of the mesh geometry using readings on the positions etc?