SetPersonAngle

From Spheriki

Jump to: navigation, search

Set the angle of rotation of the person.


Contents

Usage

SetPersonAngle(name, angle);
  • name String. The name of the person to set the angle of.
  • angle Number. The new angle to set the person to.


Examples

See example for GetPersonAngle().


Notes

  • Like all Sphere functions that work with angles, the angle returned by this function is in the form of radians. To convert between radians and degrees, use Math.js (system script), or write your own simple routines.
  • Angles are measured as zero radians pointing to the right, and then increasing anticlockwise.


See also

Personal tools