|
Hello, im pretty new to C++ and especially JoltPhysics, so the question might be kinda stupid |
Replies: 2 comments 5 replies
|
The BodyManager instance is private and cannot be accessed. The official way is described here: |
|
I have a related problem. I want to obtain the Body from OnContactRemoved., but only BodyIDs are given. It looks like the only way to get access to the Body is through BodyLockInterface (from your link above). However, OnContactRemoved states:
So what should I do in this situation? |
The BodyManager instance is private and cannot be accessed. The official way is described here:
https://jrouwe.github.io/JoltPhysics/#multi-threaded-access