Method: rotateTo

Rotates the entity to the passed values.
rotateTo (Number x, Number y, Number z)
  • Numberx The x co-ordinate.
  • Numbery The y co-ordinate.
  • Numberz The z co-ordinate.
Returns *

Rotate the entity to 10 degrees about the z axis

entity.rotateTo(0, 0, Math.radians(10));
© Copyright 2013 Irrelon Software Limited. All Rights Reserved. UK Registered Company Number: 07522767
Isogenic (ī´sōjen´ik): Adj originating from a common source; possessing the same genetic composition.
Strange Things Happen at the One Two Point