scenevr / client

:punch: Web client
7 stars 2 forks source link

Return collision normal and velocity #46

Open bnolan opened 9 years ago

bnolan commented 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.

bnolan commented 9 years ago

/cc @sminnee, did you add velocity to the collision event with your change?

See Connector.prototype.onCollide.