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

Public Member Functions

Functions
FFootPlacementPlantSettings & opAssign (FFootPlacementPlantSettings Other)

Public Attributes

Plant Settings
float32 ReplantAngleRatio
 Below this value, proportional to UnplantAngle, the bone will replant.
float32 DistanceToGround
 At this distance from the planting plane the bone is considered planted and will be fully aligned.
EFootPlacementLockType LockType
float32 UnplantRadius
 How much linear deviation causes the constraint to be released.
float32 ReplantRadiusRatio
 Below this value, proportional to UnplantRadius, the bone will replant.
float32 UnplantAngle
 How much angular deviation (in degrees) causes the constraint to be released for replant.
float32 SpeedThreshold
 Bone is considered planted below this speed. Value is obtained from FKSpeedCurveName.
float32 MaxExtensionRatio
 Max extension ratio of the chain, calculated from the remaining length between current pose and full limb extension.
float32 MinExtensionRatio
 Min extension ratio of the chain, calculated from the total limb length, and adjusted along the approach direction.
float32 SeparatingDistance
 The minimum distance the feet can be from the plane that separates the feet. Value of 0 disables this.
float32 UnalignmentSpeedThreshold
 Speed at which we transition to fully unplanted. The range between SpeedThreshold and UnalignmentSpeedThreshold should roughly represent the roll-phase of the foot TODO: This feels innaccurate most of the time, and varies depending on anim speed. Improve this.
float32 AnkleTwistReduction
 How much we reduce the procedural ankle twist adjustment used to align the foot to the ground slope.
bool bAdjustHeelBeforePlanting
 Whether to allow adjusting the heel lift before we plant.

Member Function Documentation

◆ opAssign()

Member Data Documentation

◆ AnkleTwistReduction

float32 AnkleTwistReduction

How much we reduce the procedural ankle twist adjustment used to align the foot to the ground slope.

◆ bAdjustHeelBeforePlanting

bool bAdjustHeelBeforePlanting

Whether to allow adjusting the heel lift before we plant.

◆ DistanceToGround

float32 DistanceToGround

At this distance from the planting plane the bone is considered planted and will be fully aligned.

◆ LockType

◆ MaxExtensionRatio

float32 MaxExtensionRatio

Max extension ratio of the chain, calculated from the remaining length between current pose and full limb extension.

◆ MinExtensionRatio

float32 MinExtensionRatio

Min extension ratio of the chain, calculated from the total limb length, and adjusted along the approach direction.

◆ ReplantAngleRatio

float32 ReplantAngleRatio

Below this value, proportional to UnplantAngle, the bone will replant.

◆ ReplantRadiusRatio

float32 ReplantRadiusRatio

Below this value, proportional to UnplantRadius, the bone will replant.

◆ SeparatingDistance

float32 SeparatingDistance

The minimum distance the feet can be from the plane that separates the feet. Value of 0 disables this.

◆ SpeedThreshold

float32 SpeedThreshold

Bone is considered planted below this speed. Value is obtained from FKSpeedCurveName.

◆ UnalignmentSpeedThreshold

float32 UnalignmentSpeedThreshold

Speed at which we transition to fully unplanted. The range between SpeedThreshold and UnalignmentSpeedThreshold should roughly represent the roll-phase of the foot TODO: This feels innaccurate most of the time, and varies depending on anim speed. Improve this.

◆ UnplantAngle

float32 UnplantAngle

How much angular deviation (in degrees) causes the constraint to be released for replant.

◆ UnplantRadius

float32 UnplantRadius

How much linear deviation causes the constraint to be released.