11.07.2015 Views

Linden Scripting Language Guide - Engineering Center

Linden Scripting Language Guide - Engineering Center

Linden Scripting Language Guide - Engineering Center

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

VEHICLE_BANKING_MIXAppendix C. ConstantsA slider between static (0.0) and dynamic (1.0) banking. "Static" means the banking scales only with theangle of roll, whereas "dynamic" is a term that also scales with the vehicle’s linear speed.VEHICLE_BANKING_TIMESCALEThe timescale for banking to exponentially approach it’s maximum effect. This is another way to scale thestrength of the banking effect, however it affects the term that is proportional to the difference between whatthe banking behavior is trying to do, and what the vehicle is actually doing.VEHICLE_REFERENCE_FRAMEA rotation of the vehicle’s preferred axes of motion and orientation (at, left, up) with respect to the vehicle’slocal frame (x, y, z).C.23. Vehicle FlagsFlagsVEHICLE_FLAG_NO_DEFLECTION_UPThis flag prevents linear deflection parallel to world z-axis. This is useful for preventing ground vehicleswith large linear deflection, like bumper cars, from climbing their linear deflection into the sky.VEHICLE_FLAG_LIMIT_ROLL_ONLYFor vehicles with vertical attractor that want to be able to climb/dive, for instance, airplanes that want to usethe banking feature.VEHICLE_FLAG_HOVER_WATER_ONLYIgnore terrain height when hovering.VEHICLE_FLAG_HOVER_TERRAIN_ONLYIgnore water height when hovering.VEHICLE_FLAG_HOVER_GLOBAL_HEIGHTHover at global height.VEHICLE_FLAG_HOVER_UP_ONLYHover doesn’t push down. Use this flag for hovering vehicles that should be able to jump above their hoverheight.VEHICLE_FLAG_LIMIT_MOTOR_UPPrevents ground vehicles from motoring into the sky.112

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!