You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I find myself missing Begin/EndContact methods. The current framework is good enough to detect when a collision is happening, but not when it begins or ends.
I'm not sure what the best way to handle this is. Maybe onContactBegin/onContactEnd functions similar to onContact?
Failing that, how would one easily detect that a collision began to play an appropriate sound?
Thanks.
The text was updated successfully, but these errors were encountered:
Excellent. At the moment I have a very hacky check in my EnterFrame to detect new collisions, but it'd be good to refactor to onContactBegin/End or something similar.
Cool, any updates? I keep finding places that'd benefit from knowing when a collision begins or ends. Would a PR providing this functionality be accepted?
I find myself missing Begin/EndContact methods. The current framework is good enough to detect when a collision is happening, but not when it begins or ends.
I'm not sure what the best way to handle this is. Maybe onContactBegin/onContactEnd functions similar to onContact?
Failing that, how would one easily detect that a collision began to play an appropriate sound?
Thanks.
The text was updated successfully, but these errors were encountered: