llSetVehicleVectorParam
function
Function syntax
llSetVehicleVectorParam(integer param,// VEHICLE_* vector parameter constant to set. Values: VehicleVectorParamvector vec// Vector value to set.
);- Energy
- 10
Sets the specified vehicle vector parameter param to vec.
Sets the vehicle vector parameter param to vec.
llSetVehicleVectorParam(0, ZERO_VECTOR);Specification
Section titled “Specification”| Constant | Type | Description | |
|---|---|---|---|
VEHICLE_ANGULAR_FRICTION_TIMESCALE | 17 | vector | vector of timescales for exponential decay of angular velocity about the three vehicle axes |
VEHICLE_ANGULAR_MOTOR_DIRECTION | 19 | vector | angular velocity that the vehicle will try to achieve |
VEHICLE_LINEAR_FRICTION_TIMESCALE | 16 | vector | vector of timescales for exponential decay of linear velocity along the three vehicle axes |
VEHICLE_LINEAR_MOTOR_DIRECTION | 18 | vector | linear velocity that the vehicle will try to achieve |
VEHICLE_LINEAR_MOTOR_OFFSET | 20 | vector | offset from the center of mass of the vehicle where the linear motor is applied. |
VEHICLE_ANGULAR_MOTOR_DIRECTIONmay conflict with any activellTargetOmegaset in the root prim and prevent vehicle turns. CallllTargetOmegawith a gain of 0 to disable it.
See also
Section titled “See also”Functions
Section titled “Functions”llSetVehicleRotationParam— Sets a vehicle rotation parameterllSetVehicleFloatParam— Sets a vehicle float parameter
Articles
Section titled “Articles”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.