Skip to content
lsl.devlsl.devLSL Dev

llSetVehicleVectorParam

function
Function syntax
llSetVehicleVectorParam(
  1. integer param,// VEHICLE_* vector parameter constant to set. Values: VehicleVectorParam
  2. vector vec// Vector value to set.
);
Energy
10

Sets the specified vehicle vector parameter param to vec.

Sets the vehicle vector parameter param to vec.

How to use
llSetVehicleVectorParam(0, ZERO_VECTOR);
ConstantTypeDescription
VEHICLE_ANGULAR_FRICTION_TIMESCALE17vectorvector of timescales for exponential decay of angular velocity about the three vehicle axes
VEHICLE_ANGULAR_MOTOR_DIRECTION19vectorangular velocity that the vehicle will try to achieve
VEHICLE_LINEAR_FRICTION_TIMESCALE16vectorvector of timescales for exponential decay of linear velocity along the three vehicle axes
VEHICLE_LINEAR_MOTOR_DIRECTION18vectorlinear velocity that the vehicle will try to achieve
VEHICLE_LINEAR_MOTOR_OFFSET20vectoroffset from the center of mass of the vehicle where the linear motor is applied.
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.