addVelocity( <velocity> )


Module: Player

Summary:

Add velocity to the player's velocity



Call this on:

The player



Example:

 level.player addVelocity( (0, 0, 100) );



Required Args:

  • 1 : <velocity> Velocity (a vector) to add to the player's velocity