LlSetVehicleVectorParam

来自人工智能助力教育知识百科
跳转至: 导航搜索

Template:Needs Translation/


函数名
Function: llSetVehicleVectorParam( integer param, vector vec );
参数:

•整数参数–车辆标志 •向量向量机

返回值:将vehicle vector参数param设置为vec。
注意事项
见附录表格
示例
相关函数
llSetVehicleRotationParam–设置车辆旋转参数

llSetVehicleFloatParam –设置车辆浮动参数

相关事件

附录:(表格)

Constant Description
VEHICLE_LINEAR_FRICTION_TIMESCALE 16 vector of timescales for exponential decay of linear velocity along the three vehicle axes
VEHICLE_ANGULAR_FRICTION_TIMESCALE 17 vector of timescales for exponential decay of angular velocity about the three vehicle axes
VEHICLE_LINEAR_MOTOR_DIRECTION 18 linear velocity that the vehicle will try to achieve
VEHICLE_ANGULAR_MOTOR_DIRECTION 19 angular 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.