Getting the associated Model from a RigidBodyControl?

Hey, a method receives overlapping objects from a GhostControl. What I want to do now, is to detach the Model from the rootNode to which the PhysicsCollisionObject (in this case RigidBodyControl’s) is attached to. Can I somehow do this without iterating through all Models and check if the overlapping PhysicsCollisionObject is equal to its attached control? Hope that’s understandable :slight_smile:



greetings

getUserObject() if you didnt setUserObject() anything else.

1 Like