Understand Body and BodyInterface logic #2069
Replies: 2 comments 4 replies
|
Using The thing to keep in mind is that So e.g. calling |
|
And about this one:
If you use Jolt from multiple threads at the same time, always use |
|
Using The thing to keep in mind is that So e.g. calling |
|
And about this one:
If you use Jolt from multiple threads at the same time, always use |
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I'm integrating Jolt into my engine (https://github.com/amerkoleci/alimer/blob/main/Source/Alimer/Physics/Jolt/JoltPhysicsBackend.cpp) and I was wondering I can call method directly on Body (SetAngularVelocity, AddForce etc) or when should I go throught BodyInterface?
I saw there is also GetBodyInterfaceNoLock, GetBodyLockInterface.
Can you help me understand how to proceed?
Sorry if the question was already asked, I tried to search the "Discusssions" but didn't find anything related to this question
Thank you for your time
Amer
All reactions