FVehicleState

Commonly used state - evaluated once used wherever required

Windows
MacOS
Linux

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

Name Description

Public variable

bool

 

bAllWheelsOnGround

Public variable

bool

 

bSleeping

Public variable

bool

 

bVehicleInAir

Public variable

float

 

ForwardsAcceleration

Public variable

float

 

ForwardSpeed

Public variable

FVector

 

LastFrameVehicleLocalVelocity

Public variable

FVector

 

LocalAcceleration

Public variable

FVector

 

LocalGForce

Public variable

int

 

NumWheelsOnGround

Public variable

int

 

SleepCounter

Public variable

FVector

 

VehicleForwardAxis

Public variable

FVector

 

VehicleLocalVelocity

Public variable

FVector

 

VehicleRightAxis

Public variable

FVector

 

VehicleUpAxis

Public variable

FVector

 

VehicleWorldAngularVelocity

Public variable

FVector

 

VehicleWorldCOM

Public variable

FTransform

 

VehicleWorldTransform

Public variable

FVector

 

VehicleWorldVelocity

Public variable

FVector

 

WorldVelocityNormal

Constructors

Name Description

Public function

FVehicleState()

Functions

Name Description

Public function

void

 

CaptureState

(
    FBodyInstance* TargetInstance,
    float GravityZ,
    float DeltaTime
)

Cache some useful data at the start of the frame

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss