Transformation

Transformation

Windows
MacOS
Linux
On this page

Actions

AddActorLocalOffset

Adds a delta to the location of this component in its local reference frame.

Target is Actor

AddActorLocalRotation

Adds a delta to the rotation of this component in its local reference frame

Target is Actor

AddActorLocalTransform

Adds a delta to the transform of this component in its local reference frame

Target is Actor

AddActorWorldOffset

Adds a delta to the location of this actor in world space.

Target is Actor

AddActorWorldRotation

Adds a delta to the rotation of this actor in world space.

Target is Actor

AddActorWorldTransform

Adds a delta to the transform of this actor in world space. Scale is unchanged.

Target is Actor

AddLocalOffset

Adds a delta to the location of the component in its local reference frame

Target is Scene Component

AddLocalRotation

Adds a delta to the rotation of the component in its local reference frame

Target is Scene Component

AddLocalTransform

Adds a delta to the transform of the component in its local reference frame. Scale is unchanged.

Target is Scene Component

AddRelativeLocation

Adds a delta to the translation of the component relative to its parent

Target is Scene Component

AddRelativeRotation

Adds a delta the rotation of the component relative to its parent

Target is Scene Component

AddWorldOffset

Adds a delta to the location of the component in world space.

Target is Scene Component

AddWorldRotation

Adds a delta to the rotation of the component in world space.

Target is Scene Component

AddWorldTransform

Adds a delta to the transform of the component in world space. Scale is unchanged.

Target is Scene Component

AttachActorToActor

Attaches the RootComponent of this Actor to the supplied actor, optionally at a named socket.

Target is Actor

AttachActorToComponent

Attaches the RootComponent of this Actor to the supplied component, optionally at a named socket. It is not valid to call this on components that are not Registered.

Target is Actor

AttachComponentToComponent

Attach this component to another scene component, optionally at a named socket. It is valid to call this on components whether or not they have been Registered.

Target is Scene Component

DetachFromActor

Detaches the RootComponent of this Actor from any SceneComponent it is currently attached to.

Target is Actor

DetachFromComponent

Detach this component from whatever it is attached to. Automatically unwelds components that are welded together (See WeldTo)

Target is Scene Component

Does Socket Exist

Return true if socket with the given name exists

Target is Scene Component

Get Actor Array Average Location

Find the average location (centroid) of an array of Actors

Target is Gameplay Statics

Get Actor Forward Vector

Get the forward (X) vector (length 1.0) from this Actor, in world space.

Target is Actor

Get Actor Right Vector

Get the right (Y) vector (length 1.0) from this Actor, in world space.

Target is Actor

Get Actor Up Vector

Get the up (Z) vector (length 1.0) from this Actor, in world space.

Target is Actor

Get All Socket Names

Gets the names of all the sockets on the component.

Target is Scene Component

Get Attach Parent

Get the SceneComponent we are attached to.

Target is Scene Component

Get Attach Socket Name

Get the socket we are attached to.

Target is Scene Component

Get Component Velocity

Get velocity of the component: either ComponentVelocity, or the velocity of the physics body if simulating physics.

Target is Scene Component

Get Distance To

Returns the distance from this Actor to OtherActor.

Target is Actor

Get Dot Product To

Returns the dot product from this Actor to OtherActor. Returns -2.0 on failure. Returns 0.0 for coincidental actors.

Target is Actor

Get Forward Vector

Get the forward (X) unit direction vector from this component, in world space.

Target is Scene Component

Get Horizontal Distance To

Returns the distance from this Actor to OtherActor, ignoring Z.

Target is Actor

Get Horizontal Dot Product To

Returns the dot product from this Actor to OtherActor, ignoring Z. Returns -2.0 on failure. Returns 0.0 for coincidental actors.

Target is Actor

Get Relative Transform

Returns the transform of the component relative to its parent

Target is Scene Component

Get Right Vector

Get the right (Y) unit direction vector from this component, in world space.

Target is Scene Component

Get Socket Location

Get world-space socket or bone location.

Target is Scene Component

Get Socket Rotation

Get world-space socket or bone FRotator rotation.

Target is Scene Component

Get Socket Transform

Get world-space socket transform.

Target is Scene Component

Get Squared Distance To

Returns the squared distance from this Actor to OtherActor.

Target is Actor

Get Up Vector

Get the up (Z) unit direction vector from this component, in world space.

Target is Scene Component

Get Velocity

Returns velocity (in cm/s (Unreal Units/second) of the rootcomponent if it is either using physics or has an associated MovementComponent

Target is Actor

Get Vertical Distance To

Returns the distance from this Actor to OtherActor, ignoring XY.

Target is Actor

GetActorLocation

Returns the location of the RootComponent of this Actor

Target is Actor

GetActorRotation

Returns rotation of the RootComponent of this Actor.

Target is Actor

GetActorTransform

Get the actor-to-world transform.

Target is Actor

GetWorldLocation

Return location of the component, in world space

Target is Scene Component

GetWorldRotation

Returns rotation of the component, in world space.

Target is Scene Component

GetWorldScale

Returns scale of the component, in world space.

Target is Scene Component

GetWorldTransform

Get the current component-to-world transform for this component

Target is Scene Component

Reset Relative Transform

Reset the transform of the component relative to its parent. Sets relative location to zero, relative rotation to no rotation, and Scale to 1.

Target is Scene Component

Set Absolute

Set which parts of the relative transform should be relative to parent, and which should be relative to world

Target is Scene Component

Set Actor Relative Scale 3D

Set the actor's RootComponent to the specified relative scale 3d

Target is Actor

Set Actor Scale 3D

Set the Actor's world-space scale.

Target is Actor

Set Mobility

Set how often this component is allowed to move during runtime. Causes a component re-register if the component is already registered

Target is Scene Component

Set Relative Scale 3D

Set the non-uniform scale of the component relative to its parent

Target is Scene Component

Set World Scale 3D

Set the relative scale of the component to put it at the supplied scale in world space.

Target is Scene Component

SetActorLocation

Move the Actor to the specified location.

Target is Actor

SetActorLocationAndRotation

Move the actor instantly to the specified location and rotation.

Target is Actor

SetActorRelativeLocation

Set the actor's RootComponent to the specified relative location.

Target is Actor

SetActorRelativeRotation

Set the actor's RootComponent to the specified relative rotation

Target is Actor

SetActorRelativeTransform

Set the actor's RootComponent to the specified relative transform

Target is Actor

SetActorRotation

Set the Actor's rotation instantly to the specified rotation.

Target is Actor

SetActorTransform

Set the Actors transform to the specified one.

Target is Actor

SetRelativeLocation

Set the location of the component relative to its parent

Target is Scene Component

SetRelativeLocationAndRotation

Set the location and rotation of the component relative to its parent

Target is Scene Component

SetRelativeRotation

Set the rotation of the component relative to its parent

Target is Scene Component

SetRelativeTransform

Set the transform of the component relative to its parent

Target is Scene Component

SetWorldLocation

Put this component at the specified location in world space. Updates relative location to achieve the final world location.

Target is Scene Component

SetWorldLocationAndRotation

Set the relative location and rotation of the component to put it at the supplied pose in world space.

Target is Scene Component

SetWorldRotation

Target is Scene Component

SetWorldTransform

Set the transform of the component in world space.

Target is Scene Component

Teleport

Teleport this actor to a new location. If the actor doesn't fit exactly at the location specified, tries to slightly move it out of walls and such.

Target is Actor

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss