“LlSetVehicleVectorParam”的版本间的差异

来自人工智能助力教育知识百科
跳转至: 导航搜索
(创建页面,内容为“{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}} {{函数详情 |函数名 = Function: llSetVehicleVectorParam( integer param, vector vec ); |参…”)
 
Wzc讨论 | 贡献
 
第49行: 第49行:
 
| offset from the center of mass of the vehicle where the linear motor is applied.
 
| offset from the center of mass of the vehicle where the linear motor is applied.
 
|}
 
|}
 
另外 如果遇到有specification的情况等可以加到注意事项里面。
 
在注意事项里面:回车=另起一行 回车+开头空两格=方框(类似于示例里面的)
 

2020年8月12日 (三) 08:19的最新版本

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.