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
There's events for when an object hits the floor (onGround) and hits the ceiling (onHeadbutt). Where are the equivalents for the thing that was hit (i.e. onStomped and onHeadbutted)?
I'm making a button object that will react when it a falling object (which may or may not be the player) lands on it from above, and for the event handler that makes the stomped-on button react to the stomp, it doesn't make much sense to attach it to the thing that's falling (by tag or otherwise)...
The text was updated successfully, but these errors were encountered:
There's events for when an object hits the floor (
onGround
) and hits the ceiling (onHeadbutt
). Where are the equivalents for the thing that was hit (i.e.onStomped
andonHeadbutted
)?I'm making a button object that will react when it a falling object (which may or may not be the player) lands on it from above, and for the event handler that makes the stomped-on button react to the stomp, it doesn't make much sense to attach it to the thing that's falling (by tag or otherwise)...
The text was updated successfully, but these errors were encountered: