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.

A.54. llGet<strong>Center</strong>OfMassAppendix A. <strong>Linden</strong> Library Functionsvector llGet<strong>Center</strong>OfMass(void);Returns the center of mass of the root object.A.55. llGetColorvector llGetColor(integer face);Returns the color of face as a vector of red, green, and blue values between 0 and 1. If face is ALL_SIDESthe color returned is the mean average of each channel.A.56. llGetDatestring llGetDate(void);Returns the current UTC date as YYYY-MM-DD.A.57. llGetEnergyfloat llGetEnergy(void);Returns how much energy is in the object as a percentage of maximum.A.58. llGetForcevector llGetForce(void);Returns the current force if the script is physical.46

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

Saved successfully!

Ooh no, something went wrong!