FWheelState

Commonly used Wheel state - evaluated once used wherever required for that frame

Choose your operating system:

Windows

macOS

Linux

References

Module

ChaosVehicles

Header

/Engine/Plugins/Experimental/ChaosVehiclesPlugin/Source/ChaosVehicles/Public/ChaosWheeledVehicleMovementComponent.h

Include

#include "ChaosWheeledVehicleMovementComponent.h"

Syntax

struct FWheelState

Remarks

Commonly used Wheel state - evaluated once used wherever required for that frame

Variables

Name Description

Public variable

TArray< FVector...

 

LocalWheelVelocity

Current velocity at wheel location In World Coordinates - combined linear and angular

Public variable

TArray< Chaos::...

 

Trace

Local velocity of Wheel

Public variable

TArray< FVector...

 

WheelLocalLocation

Public variable

TArray< FVector...

 

WheelWorldLocation

Current Location Of Wheels In Local Coordinates

Public variable

TArray< FVector...

 

WorldWheelVelocity

Current Location Of Wheels In World Coordinates

Functions

Name Description

Public function

void

 

CaptureState

(
    int WheelIdx,
    const FVector& WheelOffset,
    const FBodyInstance* TargetIns...
)

Commonly used Wheel state - evaluated once used wherever required for that frame

Public function

void

 

CaptureState

(
    int WheelIdx,
    const FVector& WheelOffset,
    const Chaos::FRigidBodyHandle_Inter...
)

Commonly used Wheel state - evaluated once used wherever required for that frame

Public function

void

 

CaptureState

(
    int WheelIdx,
    const FVector& WheelOffset,
    const Chaos::FRigidBodyHandle_Inter...,
    const FVector& ContactPoint,
    const Chaos::FRigidBodyHandle_Inter...
)

Commonly used Wheel state - evaluated once used wherever required for that frame

Public function Static

FVector

 

GetVelocityAtPoint

(
    const Chaos::FRigidBodyHandle_Inter...,
    const FVector& InPoint
)

Public function

void

 

Init

(
    int NumWheels
)