Method: originTo

Set the origin of the entity to the passed values.
originTo (Number x, Number y, Number z)
  • Numberx The x co-ordinate.
  • Numbery The y co-ordinate.
  • Numberz The z co-ordinate.
Returns *

Set the entity origin to 0.5 on all axes

entity.originTo(0.5, 0.5, 0.5);
© 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