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

Simple controller that replaces or adds to the translation/rotation of a single bone. More...

Public Member Functions

Functions
void SetbLimitDisplacement (bool Value)
 Limit the amount that a bone can stretch from its ref-pose length.
void SetbTranslateX (bool Value)
 If true take the spring calculation for translation in X.
void SetbTranslateY (bool Value)
 If true take the spring calculation for translation in Y.
void SetbTranslateZ (bool Value)
 If true take the spring calculation for translation in Z.
void SetbRotateX (bool Value)
 If true take the spring calculation for rotation in X.
void SetbRotateY (bool Value)
 If true take the spring calculation for rotation in Y.
void SetbRotateZ (bool Value)
 If true take the spring calculation for rotation in Z.
FAnimNode_SpringBone & opAssign (FAnimNode_SpringBone Other)
Public Member Functions inherited from FAnimNode_SkeletalControlBase
FAnimNode_SkeletalControlBase & opAssign (FAnimNode_SkeletalControlBase Other)

Public Attributes

Alpha
EAnimAlphaInputType AlphaInputType
FInputAlphaBoolBlend AlphaBoolBlend
FInputScaleBias AlphaScaleBias
float32 Alpha
 Current strength of the skeletal control.
FInputScaleBiasClamp AlphaScaleBiasClamp
FName AlphaCurveName
bool bAlphaBoolEnabled
Links
FComponentSpacePoseLink ComponentPose
 Input link.
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.
Spring
float SpringDamping
 Damping of spring.
float SpringStiffness
 Stiffness of spring.
float ErrorResetThresh
 If spring stretches more than this, reset it. Useful for catching teleports etc.
float MaxDisplacement
 If bLimitDisplacement is true, this indicates how long a bone can stretch beyond its length in the ref-pose.
FBoneReference SpringBone
 Name of bone to control. This is the main bone chain to modify from. *.
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

Simple controller that replaces or adds to the translation/rotation of a single bone.

Member Function Documentation

◆ opAssign()

◆ SetbLimitDisplacement()

void SetbLimitDisplacement ( bool Value)

Limit the amount that a bone can stretch from its ref-pose length.

◆ SetbRotateX()

void SetbRotateX ( bool Value)

If true take the spring calculation for rotation in X.

◆ SetbRotateY()

void SetbRotateY ( bool Value)

If true take the spring calculation for rotation in Y.

◆ SetbRotateZ()

void SetbRotateZ ( bool Value)

If true take the spring calculation for rotation in Z.

◆ SetbTranslateX()

void SetbTranslateX ( bool Value)

If true take the spring calculation for translation in X.

◆ SetbTranslateY()

void SetbTranslateY ( bool Value)

If true take the spring calculation for translation in Y.

◆ SetbTranslateZ()

void SetbTranslateZ ( bool Value)

If true take the spring calculation for translation in Z.

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

◆ ComponentPose

FComponentSpacePoseLink ComponentPose

Input link.

◆ ErrorResetThresh

float ErrorResetThresh

If spring stretches more than this, reset it. Useful for catching teleports etc.

◆ 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.

◆ MaxDisplacement

float MaxDisplacement

If bLimitDisplacement is true, this indicates how long a bone can stretch beyond its length in the ref-pose.

◆ SpringBone

FBoneReference SpringBone

Name of bone to control. This is the main bone chain to modify from. *.

◆ SpringDamping

float SpringDamping

Damping of spring.

◆ SpringStiffness

float SpringStiffness

Stiffness of spring.