Teleport

Player
Server Side
Both Mobile and PC

Teleport the target to a specified location

Declaration

func Teleport(target PlayerOrVehicle, position Vector3, rotation Vector3)
go

Parameters

Input

Name Type Description
Target PlayerOrVehicle The unit being teleported
Position Vector3 Teleport point coordinates
Rotation Vector3 The unit’s facing direction after teleporting