G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
FMotionWarpingTarget Struct Reference

Represents a point of alignment in the world. More...

Public Member Functions

Functions
FMotionWarpingTarget & opAssign (FMotionWarpingTarget Other)

Public Attributes

Defaults
FVector Location
 When the warp target is created from a component this stores the location of the component at the time of creation, otherwise its the location supplied by the user.
FRotator Rotation
 When the warp target is created from a component this stores the rotation of the component at the time of creation, otherwise its the rotation supplied by the user.
TWeakObjectPtr< const USceneComponent > Component
 Optional component used to calculate the final target transform.
FName BoneName
 Optional bone name in the component used to calculate the final target transform.
bool bFollowComponent
 Whether the target transform calculated from a component and an optional bone should be updated during the warp.
FVector LocationOffset
 Optional static location offset. Only relevant when the warp target is created from a component.
FRotator RotationOffset
 Optional static rotation offset. Only relevant when the warp target is created from a component.
FName Name
 Unique name for this warp target.

Detailed Description

Represents a point of alignment in the world.

Member Function Documentation

◆ opAssign()

Member Data Documentation

◆ bFollowComponent

bool bFollowComponent

Whether the target transform calculated from a component and an optional bone should be updated during the warp.

◆ BoneName

FName BoneName

Optional bone name in the component used to calculate the final target transform.

◆ Component

TWeakObjectPtr<const USceneComponent> Component

Optional component used to calculate the final target transform.

◆ Location

FVector Location

When the warp target is created from a component this stores the location of the component at the time of creation, otherwise its the location supplied by the user.

◆ LocationOffset

FVector LocationOffset

Optional static location offset. Only relevant when the warp target is created from a component.

◆ Name

FName Name

Unique name for this warp target.

◆ Rotation

FRotator Rotation

When the warp target is created from a component this stores the rotation of the component at the time of creation, otherwise its the rotation supplied by the user.

◆ RotationOffset

FRotator RotationOffset

Optional static rotation offset. Only relevant when the warp target is created from a component.