Available since Version 1.0.
Sets the player's current position. Their dynaload data will be updated to reflect their new position.
Syntax
Player:SetPosition( position )Arguments
- position (Vector3): The new position to set for the player.
Return Values
No return values.
Examples
local player = --[[ get player reference ]]
local newPosition = Engine.Vector3(1, 2, 3)
player:SetPosition(newPosition)