Method: rotateBy

Rotates the entity by adding the passed values to the current rotation values.
rotateBy (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 by 10 degrees about the z axis

entity.rotateBy(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