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

Public Member Functions

Functions
FFootPlacementTraceSettings & opAssign (FFootPlacementTraceSettings Other)

Public Attributes

Trace Settings
float32 EndOffset
 A positive value extends the trace length below the bone.
float32 SweepRadius
 The trace is a sphere sweep with this radius. It should be big enough to prevent the trace from going through small geometry gaps.
ETraceTypeQuery ComplexTraceChannel
 The channel to use for our complex trace.
float32 MaxGroundPenetration
 How much the feet can penetrate the ground geometry. It's recommended to allow some to account for interpolation Negative values disable this effect.
float32 SimpleCollisionInfluence
 How much we align to simple vs complex collision when the foot is in flight Tracing against simple geometry (i.e. it's common for stairs to have simplified ramp collisions) can provide a smoother trajectory when the foot is in flight.
ETraceTypeQuery SimpleTraceChannel
 The channel to use for our simple trace.
bool bEnabled
 Enabling tracing for ground alignment @TODO: Use ground normal when not tracing.
float32 StartOffset
 A negative value extends the trace length above the bone.

Member Function Documentation

◆ opAssign()

Member Data Documentation

◆ bEnabled

bool bEnabled

Enabling tracing for ground alignment @TODO: Use ground normal when not tracing.

◆ ComplexTraceChannel

ETraceTypeQuery ComplexTraceChannel

The channel to use for our complex trace.

◆ EndOffset

float32 EndOffset

A positive value extends the trace length below the bone.

◆ MaxGroundPenetration

float32 MaxGroundPenetration

How much the feet can penetrate the ground geometry. It's recommended to allow some to account for interpolation Negative values disable this effect.

◆ SimpleCollisionInfluence

float32 SimpleCollisionInfluence

How much we align to simple vs complex collision when the foot is in flight Tracing against simple geometry (i.e. it's common for stairs to have simplified ramp collisions) can provide a smoother trajectory when the foot is in flight.

◆ SimpleTraceChannel

ETraceTypeQuery SimpleTraceChannel

The channel to use for our simple trace.

◆ StartOffset

float32 StartOffset

A negative value extends the trace length above the bone.

◆ SweepRadius

float32 SweepRadius

The trace is a sphere sweep with this radius. It should be big enough to prevent the trace from going through small geometry gaps.