Navigation
API > API/Runtime > API/Runtime/ChaosVehiclesCore
| Name | FSimpleSuspensionSim |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/ChaosVehicles/ChaosVehiclesCore/Public/SuspensionSystem.h |
| Include Path | #include "SuspensionSystem.h" |
Syntax
class FSimpleSuspensionSim : public TVehicleSystem< FSimpleSuspensionConfig >
Inheritance Hierarchy
- TVehicleSystem → FSimpleSuspensionSim
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSimpleSuspensionSim
(
const FSimpleSuspensionConfig* SetupIn |
SuspensionSystem.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 GetAveragingCount() |
SuspensionSystem.h | ||
float GetAveragingLength
(
const int32 LengthIndex |
SuspensionSystem.h | ||
int32 GetAveragingNum() |
SuspensionSystem.h | ||
float GetLastDisplacement() |
SuspensionSystem.h | ||
float GetLastSpringLength() |
SuspensionSystem.h | ||
const FVector & GetLocalRestingPosition() |
SuspensionSystem.h | ||
float GetNormalizedLength() |
SuspensionSystem.h | ||
float GetSpringLength() |
SuspensionSystem.h | ||
float GetSuspensionForce() |
SuspensionSystem.h | ||
FVector GetSuspensionForceVector
(
const FTransform& InTransform |
SuspensionSystem.h | ||
float GetSuspensionOffset() |
SuspensionSystem.h | ||
float GetTraceLength
(
float WheelRadius |
SuspensionSystem.h | ||
void SetAveragingCount
(
const int32 InAveragingCount |
SuspensionSystem.h | ||
void SetAveragingLength
(
const int32 LengthIndex, |
SuspensionSystem.h | ||
void SetAveragingNum
(
const int32 InAveragingNum |
SuspensionSystem.h | ||
void SetLastDisplacement
(
const float InLastDisplacement |
SuspensionSystem.h | ||
void SetLastSpringLength
(
const float InLastSpringLength |
SuspensionSystem.h | ||
void SetLocalRestingPosition
(
const FVector& InOffset |
SuspensionSystem.h | ||
void SetLocalVelocity
(
const FVector& InVelocity |
Set local velocity at suspension position | SuspensionSystem.h | |
void SetLocalVelocityFromWorld
(
const FTransform& InWorldTransform, |
SuspensionSystem.h | ||
void SetSpringIndex
(
uint32 InIndex |
SuspensionSystem.h | ||
void SetSuspensionLength
(
float InLength, |
#todo: Change This ; Set suspension length after determined from raycast | SuspensionSystem.h | |
void Simulate
(
float DeltaTime |
SuspensionSystem.h | ||
void UpdateWorldRaycastLocation
(
const FTransform& BodyTransform, |
SuspensionSystem.h |