Actor-TeleportTo(Vector3_Quaternion_bool_bool).md
April 18, 2021 ยท View on GitHub
UnrealEngine.Framework.Actor
Actor.TeleportTo(System.Numerics.Vector3, System.Numerics.Quaternion, bool, bool) Method
Teleports an actor to a new location
public bool TeleportTo(in System.Numerics.Vector3 destinationLocation, in System.Numerics.Quaternion destinationRotation, bool isATest=false, bool noCheck=false);
Parameters
destinationLocation System.Numerics.Vector3
The target destination point
destinationRotation System.Numerics.Quaternion
The target rotation at the destination
isATest System.Boolean
If true, shouldn't cause any notifications (used by AI pathfinding, for example)
noCheck System.Boolean
If true, should skip checking for positioning in the world or relative to other actors trying to slightly move the actor out
Returns
System.Boolean
true if the actor has been successfully moved