SetPosition - ObjectReference
Revision as of 14:46, 14 October 2014 by imported>Plplecuyer
Member of: ObjectReference Script
Sets the object's current position in the world.
Syntax[edit | edit source]
Function SetPosition(float afX, float afY, float afZ) nativeParameters[edit | edit source]
- afX: Position along the X axis.
- afY: Position along the Y axis.
- afZ: Position along the Z axis.
Return Value[edit | edit source]
None.
Examples[edit | edit source]
; Set the statue to be at the center of the world
StatueProperty.SetPosition(0.0, 0.0, 0.0)