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.

Appendix A. <strong>Linden</strong> Library FunctionsReturns the forward axis represented by rot.A.168. llRot2LeftllRot2Left(rotation rot);Returns the left axis represented by rot.A.169. llRot2UpllRot2Up(rotation rot);Returns the up axis represented by rot.A.170. llRotBetweenrotation llRotBetween(vector a, vector b);Returns the rotation needed to rotate a to b.A.171. llRotLookAtllRotLookAt(rotation rot, float strength, float damping);Cause object to rotate to rot. Good strength values are around half the mass of the object and gooddamping values are less than 1/10 th of the strength. Asymmetrical shapes require smaller damping. Astrength of 0.0 cancels the look at.A.172. llRotTargetinteger llRotTarget(rotation rot, float error);70

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

Saved successfully!

Ooh no, something went wrong!