I’m making a platformer, and there is a moving platform that I’m implementing. However, I need to call a function when the player leaves the platform, so it can stop moving. Is this possible? Currently, I am using
this.physics.add.collider(player, moving_platform, platformMove); to call the platformMove function on the collision, but how would I call a function when the player and the platform are no longer colliding? Thank you in advance for the help!
Hello, look at this thread, I think yannick or samme approach could be valid or helpful for you…