Skip to content
lsl.devlsl.devLSL Dev

llSetVelocity

function
Function syntax
llSetVelocity(
  1. vector velocity,// Linear velocity vector to apply (in meters per second).
  2. integer is_local// Boolean. If TRUE, velocity is treated as a local directional vector; if FALSE, as a global region vector.
);
Energy
10

Sets the linear velocity of a physical object to velocity. If local is TRUE, velocity is treated as a local directional vector; if FALSE, as a global region directional vector. Has no effect on non-physical objects.

Applies velocity to object

Instantaneous velocity not dependent on object energy or mass.

How to use
llSetVelocity(ZERO_VECTOR, 0);

Date of Release 10/08/2011

Original wiki source

Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.