TActivePlayer.SetVelocity
procedure SetVelocity(VelX, VelY: Single) VelX: velocity on X axis VelY: velocity on Y axis
Description
Sets player velocities on X and Y axis
Example
// stop the player with ID 1
Players[1].Setvelocity(0,0);
procedure SetVelocity(VelX, VelY: Single) VelX: velocity on X axis VelY: velocity on Y axis
Sets player velocities on X and Y axis
// stop the player with ID 1
Players[1].Setvelocity(0,0);