传送

玩家
服务端
Both Mobile and PC

将目标传送至指定位置

声明

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

参数

输入

名称 类型 描述
目标 PlayerOrVehicle 被传送的单位
位置 Vector3 传送点坐标
旋转欧拉角 Vector3 传送后单位朝向