Language:
Discover
By Skill Level
By Category

Transform

Choose your OS:

Actions

Break Transform

Breaks apart a transform into location, rotation and scale

Target is Kismet Math Library

Compose Transforms

Compose two transforms in order: A * B.

Order matters when composing transforms: A * B will yield a transform that logically first applies A then B to any subsequent transformation.

Example: LocalToWorld = ComposeTransforms(DeltaRotation, LocalToWorld) will change rotation in local space by DeltaRotation. Example: LocalToWorld = ComposeTransforms(LocalToWorld, DeltaRotation) will change rotation in world space by DeltaRotation.

Target is Kismet Math Library

Convert Transform to Relative

Returns the given transform, converted to be relative to the given ParentTransform.

Example: AToB = ConvertTransformToRelative(AToWorld, BToWorld) to compute A relative to B.

Target is Kismet Math Library

Determinant

Calculates the determinant of the transform (converts to FMatrix internally)

Target is Kismet Math Library

Equal Transform

Returns true if transform A is equal to transform B

Target is Kismet Math Library

Inverse Transform Direction

Transform a direction vector by the inverse of the supplied transform - will not change its length. For example, if T was an object's transform, this would transform a direction from world space to local space.

Target is Kismet Math Library

Inverse Transform Location

Transform a position by the inverse of the supplied transform. For example, if T was an object's transform, this would transform a position from world space to local space.

Target is Kismet Math Library

Inverse Transform Rotation

Transform a rotator by the inverse of the supplied transform. For example, if T was an object's transform, this would transform a rotation from world space to local space.

Target is Kismet Math Library

Invert Transform

Returns the inverse of the given transform T.

Example: Given a LocalToWorld transform, WorldToLocal will be returned.

Target is Kismet Math Library

Lerp (Transform)

Linearly interpolates between A and B based on Alpha (100% of A when Alpha=0 and 100% of B when Alpha=1).

Target is Kismet Math Library

Make Transform

Make a transform from location, rotation and scale

Target is Kismet Math Library

Nearly Equal (transform)

Returns true if transform A is nearly equal to B

Target is Kismet Math Library

Select Transform

If bPickA is true, A is returned, otherwise B is

Target is Kismet Math Library

Transform Direction

Transform a direction vector by the supplied transform - will not change its length. For example, if T was an object's transform, this would transform a direction from local space to world space.

Target is Kismet Math Library

Transform Location

Transform a position by the supplied transform. For example, if T was an object's transform, this would transform a position from local space to world space.

Target is Kismet Math Library

Transform Rotation

Transform a rotator by the supplied transform. For example, if T was an object's transform, this would transform a rotation from local space to world space.

Target is Kismet Math Library