Difference between revisions of "LlSetVehicleVectorParam"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{LSLFunctionAll
{{LSL Function
|func_id=234
|func_id=234|func_sleep=0.0|func_energy=10.0
|func_sleep=0.0
|func_energy=10.0
|func=llSetVehicleVectorParam
|func=llSetVehicleVectorParam
|p1_type=integer
|p1_type=integer|p1_name=param
|p1_name=param
|p2_type=vector|p2_name=vec
|p2_type=vector
|func_desc=Sets the specified vehicle vector parameter.
|p2_name=vec
|func_desc=Sets the specified vehicle vector parameter
|return_text
|return_text
|spec
|spec
|caveats
|caveats
|constants=*{{LSL Constants/Vehicle|type=vector}}
|examples
|examples
|helpers
|helpers
|related
|also_functions=*{{LSLG|llSetVehicleRotationParam}}
|also
|also_events
|also_tests
|also_articles
|notes
|notes
|permission
|negative_index
|sort=SetVehicleVectorParam
|cat1=Vehicle
|cat2
|cat3
|cat4
}}
}}
[[Category:LSL_Functions]][[Category:LSL_Stub]]

Revision as of 12:43, 13 February 2007

Summary

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

Sets the specified vehicle vector parameter.

• integer param
• 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

See Also

Deep Notes

Signature

function void llSetVehicleVectorParam( integer param, vector vec );