Navigation
API > API/Runtime > API/Runtime/ChaosVehiclesCore
References
| Module | ChaosVehiclesCore |
| Header | /Engine/Source/Runtime/Experimental/ChaosVehicles/ChaosVehiclesCore/Public/SuspensionUtility.h |
| Include | #include "SuspensionUtility.h" |
Syntax
struct FSuspensionUtility
Functions
| Type | Name | Description | |
|---|---|---|---|
| float | ComputeCriticalDamping
(
float SpringRate, |
Compute spring damping value that will achieve critical damping | |
| float | ComputeDamping
(
float SpringRate, |
Compute spring damping value that will achieve the desired damping ratio. | |
| float | ComputeNaturalFrequency
(
float SpringRate, |
Natural frequency of spring in radians/sec - divide by 2Pi to get result in Hz | |
| bool | ComputeSprungMasses
(
const TArray< FVector >& MassSpringPositions, |
Setup functions Compute the distribution of the mass of a body among springs. | |
| bool | ComputeSprungMasses
(
const TArray< FVector >& LocalSpringPositions, |
Same as above, but allows the caller to specify spring locations in a local space which is not necessarily originated at the center of mass. |