LlSetVehicleVectorParam

From Second Life Wiki

Second Life Wiki > LSL Portal > Built-in Functions > LlSetVehicleVectorParam
Jump to: navigation, search

Template:Needs Translation/LSL/de Template:Needs Translation/LSL/es Template:Needs Translation/LSL/el Template:Needs Translation/LSL/he Template:Needs Translation/LSL/it Template:Needs Translation/LSL/ko Template:Needs Translation/LSL/nl Template:Needs Translation/LSL/hu Template:Needs Translation/LSL/no Template:Needs Translation/LSL/da Template:Needs Translation/LSL/sv Template:Needs Translation/LSL/tr Template:Needs Translation/LSL/pl Template:Needs Translation/LSL/pt Template:Needs Translation/LSL/ru Template:Needs Translation/LSL/uk Template:Needs Translation/LSL/zh-Hans Template:Needs Translation/LSL/zh-Hant

Contents

Summary

Function: llSetVehicleVectorParam( integer param, vector vec );
234 Function ID
0.0 Delay
10.0 Energy

Sets the vehicle vector parameter param to vec.

• integer param VEHICLE_* flag
• vector vec
Constant Description
VEHICLE_ANGULAR_FRICTION_TIMESCALE 17 vector of timescales for exponential decay of angular velocity about the three vehicle axes
VEHICLE_ANGULAR_MOTOR_DIRECTION 19 angular velocity that the vehicle will try to achieve
VEHICLE_LINEAR_FRICTION_TIMESCALE 16 vector of timescales for exponential decay of linear velocity along the three vehicle axes
VEHICLE_LINEAR_MOTOR_DIRECTION 18 linear velocity that the vehicle will try to achieve
VEHICLE_LINEAR_MOTOR_OFFSET 20 offset from the center of mass of the vehicle where the linear motor is applied.

Examples

Notes

  • VEHICLE_ANGULAR_MOTOR_DIRECTION may conflict with any active llTargetOmega set in the root prim and prevent vehicle turns. Call llTargetOmega with a gain of 0 to disable it.

See Also

Functions

•  llSetVehicleRotationParam Sets a vehicle rotation parameter
•  llSetVehicleFloatParam Sets a vehicle float parameter

Articles

•  Linden Vehicle Tutorial

Deep Notes

This article wasn't helpful for you? Maybe the related article at the LSL Wiki is able to bring enlightenment.
Personal tools
In other languages