unreal.TeleportEffect¶
- class unreal.TeleportEffect(target_location: Vector = Ellipsis, use_actor_rotation: bool = False, target_rotation: Rotator = Ellipsis)¶
Bases:
InstantMovementEffectTeleport: 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 spacetarget_rotation(Rotator): [Read-Write] Actor rotation is set to this value on teleport if bUseActorRotation is falseuse_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)