Open bnolan opened 9 years ago
When sending the collision event, send the normal, world position of the collision and the velocity of the collision. You can detect if a player had fallen too far with the velocity.
/cc @sminnee, did you add velocity to the collision event with your change?
See Connector.prototype.onCollide.
Connector.prototype.onCollide
When sending the collision event, send the normal, world position of the collision and the velocity of the collision. You can detect if a player had fallen too far with the velocity.