Template:Needs Translation/
函数名
|
Function: llSetVehicleType( integer type );
|
参数:•整数型
|
返回值:将车辆类型设置为默认类型之一。
|
注意事项
|
脚本车辆的最大物理权重为32.0以上,功能将失败,并在调试通道上显示警告。
|
示例
|
示例
llSetVehicleType(VEHICLE_TYPE_BALLOON);
|
附录:(表格)
Flags
|
|
Description
|
VEHICLE_TYPE_NONE
|
0
|
Turns off vehicle support
|
VEHICLE_TYPE_SLED
|
1
|
Simple vehicle that bumps along the ground, and likes to move along its local x-axis
|
VEHICLE_TYPE_CAR
|
2
|
Vehicle that bounces along the ground but needs the motors to be driven from external controls or timer events
|
VEHICLE_TYPE_BOAT
|
3
|
Hovers over water with lots of friction and some angular deflection
|
VEHICLE_TYPE_AIRPLANE
|
4
|
Uses linear deflection for lift, no hover, and banking to turn
|
VEHICLE_TYPE_BALLOON
|
5
|
Hover, and friction, but no deflection
|