Skip to content
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

feat: event when an object is stomped on or headbutted (reflected forms of onGround and onHeadbutt) #300

Closed
dragoncoder047 opened this issue Aug 2, 2024 · 1 comment · Fixed by #301
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@dragoncoder047
Copy link
Contributor

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)...

@lajbel lajbel added the enhancement New feature or request label Aug 2, 2024
@lajbel lajbel self-assigned this Aug 2, 2024
@lajbel lajbel added this to the 3001 milestone Aug 2, 2024
@lajbel
Copy link
Collaborator

lajbel commented Aug 2, 2024

let me know if it looks good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: DONE
Development

Successfully merging a pull request may close this issue.

2 participants