Skip to content

llSetVelocity

Function Syntax
void llSetVelocity(
  1. vector Velocity, // The velocity to apply.
  2. integer Local // If TRUE, the Velocity is treated as a local directional vector instead of a regional directional vector.
);

If the object is physics-enabled, sets the object’s linear velocity to Velocity.

If Local==TRUE, Velocity is treated as a local directional vector; otherwise, Velocity is treated as a global directional vector.