Make Relative Transform

Make Relative Transform

Windows
MacOS
Linux

Computes a relative transform of one transform compared to another.

Example: ChildOffset = MakeRelativeTransform(Child.GetActorTransform(), Parent.GetActorTransform()) This computes the relative transform of the Child from the Parent.

Target is Kismet Math Library

Make Relative Transform
A
Relative To
Return Value

Inputs

A
Transform (by ref)

The object's transform

Relative To
Transform (by ref)

The transform the result is relative to (in the same space as A)

Outputs

Return Value
Transform

The new relative transform

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