Replies: 3 comments
-
Yes you can set the ContactListener at any time outside of PhysicsSystem::Update. |
Beta Was this translation helpful? Give feedback.
0 replies
-
To clarify, no. The contact listener (nor any callback) will be triggered outside of PhysicsSystem::Update as no Jolt code runs. Jolt threads start and finish all their jobs during an Update call. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for the responses. :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In Jolt Physics the contact listener is set as a property on the physics system rather than passed as an argument to Update. This suggests that it can be called outside of Update. Does that ever happen? Can I use it like the following?
Beta Was this translation helpful? Give feedback.
All reactions