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

This is the node that apply corrective morphtarget for twist Good example is that if you twist your neck too far right or left, you're going to see odd stretch shape of neck, This node can detect the angle and apply morphtarget curve This isn't the twist control node for bone twist. More...

Public Member Functions

Functions
FAnimNode_TwistCorrectiveNode & opAssign (FAnimNode_TwistCorrectiveNode Other)
Public Member Functions inherited from FAnimNode_SkeletalControlBase
FAnimNode_SkeletalControlBase & opAssign (FAnimNode_SkeletalControlBase Other)

Public Attributes

Alpha
float32 Alpha
 Current strength of the skeletal control.
FInputScaleBiasClamp AlphaScaleBiasClamp
FName AlphaCurveName
FInputAlphaBoolBlend AlphaBoolBlend
bool bAlphaBoolEnabled
FInputScaleBias AlphaScaleBias
EAnimAlphaInputType AlphaInputType
Links
FComponentSpacePoseLink ComponentPose
 Input link.
Mapping
float32 RemappedMin
 Minimum value to apply to the destination (remapped from the input range).
float32 RangeMax
 Maximum limit of the input value (mapped to RemappedMax, only used when limiting the source range) We can't go more than 180 right now because this is dot product driver.
float32 RemappedMax
 Maximum value to apply to the destination (remapped from the input range).
Output Curve
FName CurveName
Performance
int LODThreshold
 Max LOD that this node is allowed to run For example if you have LODThreshold to be 2, it will run until LOD 2 (based on 0 index) when the component LOD becomes 3, it will stop update/evaluate currently transition would be issue and that has to be re-visited.
Reference Frame
FAxis TwistPlaneNormalAxis
 Normal of the Plane that we'd like to calculate angle calculation from in BaseFrame. Please note we're looking for Normal Axis.
FReferenceBoneFrame TwistFrame
 Transform component to use as input.
FReferenceBoneFrame BaseFrame
 Base Frame of the reference for the twist node.
Public Attributes inherited from FAnimNode_SkeletalControlBase
float32 Alpha
 Current strength of the skeletal control.
EAnimAlphaInputType AlphaInputType
bool bAlphaBoolEnabled
FName AlphaCurveName
FInputScaleBias AlphaScaleBias
FInputAlphaBoolBlend AlphaBoolBlend
FInputScaleBiasClamp AlphaScaleBiasClamp
FComponentSpacePoseLink ComponentPose
 Input link.
int LODThreshold
 Max LOD that this node is allowed to run For example if you have LODThreshold to be 2, it will run until LOD 2 (based on 0 index) when the component LOD becomes 3, it will stop update/evaluate currently transition would be issue and that has to be re-visited.

Detailed Description

This is the node that apply corrective morphtarget for twist Good example is that if you twist your neck too far right or left, you're going to see odd stretch shape of neck, This node can detect the angle and apply morphtarget curve This isn't the twist control node for bone twist.

Member Function Documentation

◆ opAssign()

Member Data Documentation

◆ Alpha

float32 Alpha

Current strength of the skeletal control.

◆ AlphaBoolBlend

FInputAlphaBoolBlend AlphaBoolBlend

◆ AlphaCurveName

FName AlphaCurveName

◆ AlphaInputType

EAnimAlphaInputType AlphaInputType

◆ AlphaScaleBias

FInputScaleBias AlphaScaleBias

◆ AlphaScaleBiasClamp

FInputScaleBiasClamp AlphaScaleBiasClamp

◆ bAlphaBoolEnabled

bool bAlphaBoolEnabled

◆ BaseFrame

Base Frame of the reference for the twist node.

◆ ComponentPose

FComponentSpacePoseLink ComponentPose

Input link.

◆ CurveName

FName CurveName

◆ LODThreshold

int LODThreshold

Max LOD that this node is allowed to run For example if you have LODThreshold to be 2, it will run until LOD 2 (based on 0 index) when the component LOD becomes 3, it will stop update/evaluate currently transition would be issue and that has to be re-visited.

◆ RangeMax

float32 RangeMax

Maximum limit of the input value (mapped to RemappedMax, only used when limiting the source range) We can't go more than 180 right now because this is dot product driver.

◆ RemappedMax

float32 RemappedMax

Maximum value to apply to the destination (remapped from the input range).

◆ RemappedMin

float32 RemappedMin

Minimum value to apply to the destination (remapped from the input range).

◆ TwistFrame

FReferenceBoneFrame TwistFrame

Transform component to use as input.

◆ TwistPlaneNormalAxis

FAxis TwistPlaneNormalAxis

Normal of the Plane that we'd like to calculate angle calculation from in BaseFrame. Please note we're looking for Normal Axis.