Navigation
API > API/Plugins > API/Plugins/ChaosVehicles
References
| Module | ChaosVehicles |
| Header | /Engine/Plugins/Experimental/ChaosVehiclesPlugin/Source/ChaosVehicles/Public/ChaosVehicleMovementComponent.h |
| Include | #include "ChaosVehicleMovementComponent.h" |
Syntax
struct FVehicleState
Remarks
Commonly used state - evaluated once used wherever required
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bAllWheelsOnGround | ||
| bool | bSleeping | ||
| bool | bVehicleInAir | ||
| float | ForwardsAcceleration | ||
| float | ForwardSpeed | ||
| FVector | LastFrameVehicleLocalVelocity | ||
| FVector | LocalAcceleration | ||
| FVector | LocalGForce | ||
| int | NumWheelsOnGround | ||
| int | SleepCounter | ||
| FVector | VehicleForwardAxis | ||
| FVector | VehicleLocalVelocity | ||
| FVector | VehicleRightAxis | ||
| FVector | VehicleUpAxis | ||
| FVector | VehicleWorldAngularVelocity | ||
| FVector | VehicleWorldCOM | ||
| FTransform | VehicleWorldTransform | ||
| FVector | VehicleWorldVelocity | ||
| FVector | WorldVelocityNormal |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | CaptureState
(
const FBodyInstance* TargetInstance, |
Cache some useful data at the start of the frame from GT BodyInstance | |
| void | CaptureState
(
const Chaos::FRigidBodyHandle_Internal* Handle, |
Cache some useful data at the start of the frame from Physics thread Particle Handle |