UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
PBDSuspensionConstraints.cpp File Reference

Namespaces

namespace  Chaos
 

Variables

bool bChaos_Suspension_Spring_Enabled = true
 
FAutoConsoleVariableRef CVarChaosSuspensionSpringEnabled (TEXT("p.Chaos.Suspension.Spring.Enabled"), bChaos_Suspension_Spring_Enabled, TEXT("Enable/Disable Spring part of suspension constraint"))
 
bool bChaos_Suspension_Hardstop_Enabled = true
 
FAutoConsoleVariableRef CVarChaosSuspensionHardstopEnabled (TEXT("p.Chaos.Suspension.Hardstop.Enabled"), bChaos_Suspension_Hardstop_Enabled, TEXT("Enable/Disable Hardstop part of suspension constraint"))
 
bool bChaos_Suspension_VelocitySolve = true
 
FAutoConsoleVariableRef CVarChaosSuspensionVelocitySolve (TEXT("p.Chaos.Suspension.VelocitySolve"), bChaos_Suspension_VelocitySolve, TEXT("Enable/Disable VelocitySolve"))
 
float Chaos_Suspension_MaxPushoutVelocity = 100.f
 
FAutoConsoleVariableRef CVarChaosSuspensionMaxPushoutVelocity (TEXT("p.Chaos.Suspension.MaxPushoutVelocity"), Chaos_Suspension_MaxPushoutVelocity, TEXT("Chaos Suspension Max Pushout Velocity Value"))
 
float Chaos_Suspension_MaxPushout = 5.f
 
FAutoConsoleVariableRef CVarChaosSuspensionMaxPushout (TEXT("p.Chaos.Suspension.MaxPushout"), Chaos_Suspension_MaxPushout, TEXT("Chaos Suspension Max Pushout Value"))
 
float Chaos_Suspension_SlopeThreshold = 0.707f
 
FAutoConsoleVariableRef CVarChaosSuspensionSlopeThreshold (TEXT("p.Chaos.Suspension.SlopeThreshold"), Chaos_Suspension_SlopeThreshold, TEXT("Slope threshold below which the anti-slide on slope mechanism is employed, value = Cos(AlopeAngle), i.e. for 50 degree slope = 0.6428, 30 degree slope = 0.866"))
 
float Chaos_Suspension_SlopeSpeedThreshold = 1.0f
 
FAutoConsoleVariableRef CVarChaosSuspensionSlopeSpeedThreshold (TEXT("p.Chaos.Suspension.SlopeSpeedThreshold"), Chaos_Suspension_SlopeSpeedThreshold, TEXT("Speed below which the anti-slide on slope mechanism is fully employed"))
 
float Chaos_Suspension_SlopeSpeedBlendThreshold = 10.0f
 
FAutoConsoleVariableRef CVarChaosSuspensionSlopeSpeedBlendThreshold (TEXT("p.Chaos.Suspension.SlopeSpeedBlendThreshold"), Chaos_Suspension_SlopeSpeedBlendThreshold, TEXT("Speed below which the anti-slide on slope blend mechanism starts"))
 

Variable Documentation

◆ bChaos_Suspension_Hardstop_Enabled

bool bChaos_Suspension_Hardstop_Enabled = true

◆ bChaos_Suspension_Spring_Enabled

bool bChaos_Suspension_Spring_Enabled = true

◆ bChaos_Suspension_VelocitySolve

bool bChaos_Suspension_VelocitySolve = true

◆ Chaos_Suspension_MaxPushout

float Chaos_Suspension_MaxPushout = 5.f

◆ Chaos_Suspension_MaxPushoutVelocity

float Chaos_Suspension_MaxPushoutVelocity = 100.f

◆ Chaos_Suspension_SlopeSpeedBlendThreshold

float Chaos_Suspension_SlopeSpeedBlendThreshold = 10.0f

◆ Chaos_Suspension_SlopeSpeedThreshold

float Chaos_Suspension_SlopeSpeedThreshold = 1.0f

◆ Chaos_Suspension_SlopeThreshold

float Chaos_Suspension_SlopeThreshold = 0.707f

◆ CVarChaosSuspensionHardstopEnabled

FAutoConsoleVariableRef CVarChaosSuspensionHardstopEnabled(TEXT("p.Chaos.Suspension.Hardstop.Enabled"), bChaos_Suspension_Hardstop_Enabled, TEXT("Enable/Disable Hardstop part of suspension constraint")) ( TEXT("p.Chaos.Suspension.Hardstop.Enabled")  ,
bChaos_Suspension_Hardstop_Enabled  ,
TEXT("Enable/Disable Hardstop part of suspension constraint"  
)

◆ CVarChaosSuspensionMaxPushout

FAutoConsoleVariableRef CVarChaosSuspensionMaxPushout(TEXT("p.Chaos.Suspension.MaxPushout"), Chaos_Suspension_MaxPushout, TEXT("Chaos Suspension Max Pushout Value")) ( TEXT("p.Chaos.Suspension.MaxPushout")  ,
Chaos_Suspension_MaxPushout  ,
TEXT("Chaos Suspension Max Pushout Value"  
)

◆ CVarChaosSuspensionMaxPushoutVelocity

FAutoConsoleVariableRef CVarChaosSuspensionMaxPushoutVelocity(TEXT("p.Chaos.Suspension.MaxPushoutVelocity"), Chaos_Suspension_MaxPushoutVelocity, TEXT("Chaos Suspension Max Pushout Velocity Value")) ( TEXT("p.Chaos.Suspension.MaxPushoutVelocity")  ,
Chaos_Suspension_MaxPushoutVelocity  ,
TEXT("Chaos Suspension Max Pushout Velocity Value"  
)

◆ CVarChaosSuspensionSlopeSpeedBlendThreshold

FAutoConsoleVariableRef CVarChaosSuspensionSlopeSpeedBlendThreshold(TEXT("p.Chaos.Suspension.SlopeSpeedBlendThreshold"), Chaos_Suspension_SlopeSpeedBlendThreshold, TEXT("Speed below which the anti-slide on slope blend mechanism starts")) ( TEXT("p.Chaos.Suspension.SlopeSpeedBlendThreshold")  ,
Chaos_Suspension_SlopeSpeedBlendThreshold  ,
TEXT("Speed below which the anti-slide on slope blend mechanism starts"  
)

◆ CVarChaosSuspensionSlopeSpeedThreshold

FAutoConsoleVariableRef CVarChaosSuspensionSlopeSpeedThreshold(TEXT("p.Chaos.Suspension.SlopeSpeedThreshold"), Chaos_Suspension_SlopeSpeedThreshold, TEXT("Speed below which the anti-slide on slope mechanism is fully employed")) ( TEXT("p.Chaos.Suspension.SlopeSpeedThreshold")  ,
Chaos_Suspension_SlopeSpeedThreshold  ,
TEXT("Speed below which the anti-slide on slope mechanism is fully employed"  
)

◆ CVarChaosSuspensionSlopeThreshold

FAutoConsoleVariableRef CVarChaosSuspensionSlopeThreshold(TEXT("p.Chaos.Suspension.SlopeThreshold"), Chaos_Suspension_SlopeThreshold, TEXT("Slope threshold below which the anti-slide on slope mechanism is employed, value = Cos(AlopeAngle), i.e. for 50 degree slope = 0.6428, 30 degree slope = 0.866")) ( TEXT("p.Chaos.Suspension.SlopeThreshold")  ,
Chaos_Suspension_SlopeThreshold  ,
TEXT("Slope threshold below which the anti-slide on slope mechanism is employed, value = Cos(AlopeAngle), i.e. for 50 degree slope = 0.6428, 30 degree slope = 0.866")   
)

◆ CVarChaosSuspensionSpringEnabled

FAutoConsoleVariableRef CVarChaosSuspensionSpringEnabled(TEXT("p.Chaos.Suspension.Spring.Enabled"), bChaos_Suspension_Spring_Enabled, TEXT("Enable/Disable Spring part of suspension constraint")) ( TEXT("p.Chaos.Suspension.Spring.Enabled")  ,
bChaos_Suspension_Spring_Enabled  ,
TEXT("Enable/Disable Spring part of suspension constraint"  
)

◆ CVarChaosSuspensionVelocitySolve

FAutoConsoleVariableRef CVarChaosSuspensionVelocitySolve(TEXT("p.Chaos.Suspension.VelocitySolve"), bChaos_Suspension_VelocitySolve, TEXT("Enable/Disable VelocitySolve")) ( TEXT("p.Chaos.Suspension.VelocitySolve")  ,
bChaos_Suspension_VelocitySolve  ,
TEXT("Enable/Disable VelocitySolve"  
)