Hello guys, i’m new here and trying to learn the engine by doing a snake game, but i’m having trouble with my collision function.
I’m doing the same thing as this tutorial (https://developer.playcanvas.com/en/tutorials/collision-and-triggers/) but the function isn’t created, and i used a debug log message on initialized function and the script is working, i know this must be something easy to solve, but i tried and searched everything about.
My entity has a collision asset.
If someone can help me, i will be gratefull!
link to my project:https://playcanvas.com/editor/project/727476