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.

C.18. Miscellaneous Integer ConstantsAppendix C. ConstantsThere is one uncategorized integer constant which is used in some of the texturing and coloring api: ALL_SIDESC.19. Miscellaneous String ConstantsThere is one uncategorized string constant which is used in the dataserver event: EOFC.20. Vector ConstantThere is only one vector constant which acts as a zero vector: ZERO_VECTOR = .C.21. Rotation ConstantThere is only one rotation constant which acts as a zero rotation: ZERO_ROTATION = .C.22. Vehicle ParametersParametersVEHICLE_LINEAR_FRICTION_TIMESCALEA vector of timescales for exponential decay of the vehicle’s linear velocity along its preferred axes ofmotion (at, left, up). Range = [0.07, inf) seconds for each element of the vector.VEHICLE_ANGULAR_FRICTION_TIMESCALEA vector of timescales for exponential decay of the vehicle’s angular velocity about its preferred axes ofmotion (at, left, up). Range = [0.07, inf) seconds for each element of the vector.VEHICLE_LINEAR_MOTOR_DIRECTIONThe direction and magnitude (in preferred frame) of the vehicle’s linear motor. The vehicle will accelerate(or decelerate if necessary) to match its velocity to its motor. Range of magnitude = [0, 30] meters/second.VEHICLE_LINEAR_MOTOR_TIMESCALEThe timescale for exponential approach to full linear motor velocity.VEHICLE_LINEAR_MOTOR_DECAY_TIMESCALEThe timescale for exponential decay of the linear motor’s magnitude.VEHICLE_ANGULAR_MOTOR_DIRECTIONThe direction and magnitude (in preferred frame) of the vehicle’s angular motor.The vehicle will accelerate(or decelerate if necessary) to match its velocity to its motor.110

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

Saved successfully!

Ooh no, something went wrong!