-
Notifications
You must be signed in to change notification settings - Fork 467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CharacterContactListener: add OnContactPersisted and OnContactRemoved #1027
Comments
And while we're at it, the docs for
Which seems outdated since the method doesn't return anything. |
The comment was wrong indeed, I fixed that. The CharacterVirtual doesn't keep track of previous contacts in the same way as the normal simulation does, so it would require a bit of rework to support this especially since there are many function calls you can do on the character ( As a user of the library it shouldn't be hard to track this though. You can store the existing contacts through |
I see, thanks! If it's hard to implement, then it's probably not worth it. I just found |
I'd like to explore the addition of these feature. If the user can avoid this sort of manual bookkeeping (and the bugs that come with it), it might be better to OnContactAdded a built-in feature for jolt character contact listeners. EDIT: 'Reopened' here - #1427 |
It would be nice for
CharacterContactListener
to be more similar toContactListener
and haveOnContactPersisted
andOnContactRemoved
(so that you can send events when the character exists the sensor, for example).The text was updated successfully, but these errors were encountered: