Open yarnottc7892 opened 4 years ago
Looks OK to me. So you’re expecting a message “it works” to be logged when the player touches the trigger, but that never happens, right?
Can you enable debug draw boxes, and confirm that the player is in fact colliding with the trigger visually?
I have question about Collision. So I am trying to do a trigger and I can't get the check function to work. On either of my objects, is there something I have to so to enable that? I am really confused on why it is not working. I followed the weltmeister guide on triggers and it is not working. I am attaching my trigger and player .js file. Any help is appreciated.
Trigger Code:
Player Code: