SetSpritePhysicsVelocity

Description

Immediately sets the sprite's velocity to the given direction. This is an abrupt change that might not look right during the physics simulation, forces and impulses are the preferred approach to influencing velocity.

Definition

SetSpritePhysicsVelocity( iSpriteIndex, vx, vy )

Parameters