unreal.TeleportEffect

class unreal.TeleportEffect(target_location: Vector = Ellipsis, use_actor_rotation: bool = False, target_rotation: Rotator = Ellipsis)

Bases: InstantMovementEffect

Teleport: instantly moves an actor to a new location and rotation For async-compatible teleportation, use AsyncTeleportEffect instead.

C++ Source:

  • Plugin: Mover

  • Module: Mover

  • File: BasicInstantMovementEffects.h

Editor Properties: (see get_editor_property/set_editor_property)

  • target_location (Vector): [Read-Write] Location to teleport to, in world space

  • target_rotation (Rotator): [Read-Write] Actor rotation is set to this value on teleport if bUseActorRotation is false

  • use_actor_rotation (bool): [Read-Write] Whether this teleport effect should keep the actor’s current rotation or use a specified one (TargetRotation)

property target_location: Vector

[Read-Write] Location to teleport to, in world space

Type:

(Vector)

property target_rotation: Rotator

[Read-Write] Actor rotation is set to this value on teleport if bUseActorRotation is false

Type:

(Rotator)

property use_actor_rotation: bool

[Read-Write] Whether this teleport effect should keep the actor’s current rotation or use a specified one (TargetRotation)

Type:

(bool)