查看“LlSetVehicleFlags”的源代码
←
LlSetVehicleFlags
跳转至:
导航
、
搜索
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}} {{函数详情 |函数名 = Function: llSetVehicleFlags( integer flags ); |参数= 参数:•整型标志–车辆标志的遮罩 |返回值= 返回值:启用指定的车辆标志 |注意事项=无(如果遇到表格情况在文段末尾加一句表格参见附录) |示例= |相关函数= [[llRemoveVehicleFlags]]–移除车辆标志 |相关事件= }} 附录:(表格) {| class="wikitable" border="1" |- ! Flags ! ! Description |- | VEHICLE_FLAG_NO_DEFLECTION_UP | 0x001 | This flag prevents linear deflection parallel to world z-axis. This is useful for preventing ground vehicles with large linear deflection, like bumper cars, from climbing their linear deflection into the sky. |- | VEHICLE_FLAG_LIMIT_ROLL_ONLY | 0x002 | For vehicles with vertical attractor that want to be able to climb/dive, for instance, airplanes that want to use the banking feature. |- | VEHICLE_FLAG_HOVER_WATER_ONLY | 0x004 | Ignore terrain height when hovering. |- | VEHICLE_FLAG_HOVER_TERRAIN_ONLY | 0x008 | Ignore water height when hovering. |- | VEHICLE_FLAG_HOVER_GLOBAL_HEIGHT | 0x010 | Hover at global height instead of height above ground or water. |- | VEHICLE_FLAG_HOVER_UP_ONLY | 0x020 | Hover doesn't push down. Use this flag for hovering vehicles that should be able to jump above their hover height. |- | VEHICLE_FLAG_LIMIT_MOTOR_UP | 0x040 | Prevents ground vehicles from motoring into the sky. This flag has a subtle effect when used with conjunction with banking: the strength of the banking will decay when the vehicle no longer experiences collisions. The decay timescale is the same as VEHICLE_BANKING_TIMESCALE. This is to help prevent ground vehicles from steering when they are in mid jump. |- | VEHICLE_FLAG_MOUSELOOK_STEER | 0x080 | Steer the vehicle using the mouse. Use this flag to make the angular motor try to make the vehicle turn such that its local x-axis points in the same direction as the client-side camera. |- | VEHICLE_FLAG_MOUSELOOK_BANK | 0x100 | Same as above, but relies on banking. It remaps left-right motions of the client camera (also known as "yaw") to rotations about the vehicle's local x-axis. |- | VEHICLE_FLAG_CAMERA_DECOUPLED | 0x200 | Makes mouselook camera rotate independently of the vehicle. By default the client mouselook camera will rotate about with the vehicle, however when this flag is set the camera direction is independent of the vehicle's rotation. |}
该页面使用的模板:
模板:LSL Header
(
查看源代码
)
模板:LSLC
(
查看源代码
)
模板:LSLGC
(
查看源代码
)
模板:Multi-lang
(
查看源代码
)
模板:函数详情
(
查看源代码
)
返回至
LlSetVehicleFlags
。
导航菜单
个人工具
登录
名字空间
页面
讨论
变种
视图
阅读
查看源代码
查看历史
更多
搜索
导航
网站首页
知识百科
编辑帮助
最近更改
工具
链入页面
相关更改
特殊页面
页面信息