setPositionFromWorldSpace
Set the position of the object in world space.
Syntax
object.setPositionFromWorldSpace(position);
Parameters
Name | Type | Description |
---|---|---|
position | Vector3 or Vector3Array | The new position |
Example
object.setPositionFromWorldSpace([0, 5, 0]);
Available on: Client Server