UChaosVehicleWheel

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

ChaosVehicles

Header

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

Include

#include "ChaosVehicleWheel.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(BlueprintType, Blueprintable)
class UChaosVehicleWheel : public UObject

Variables

Name Description

Public variable UProperty Category, EditAnywhere

EAxleType

 

AxleType

If set, shape won't be created, but mapped from chassis mesh If true, ShapeRadius and ShapeWidth will be used to automatically scale collision taken from CollisionMesh to match wheel size.

Public variable UProperty Category, EditAnywhere

bool

 

bABSEnabled

Advanced Braking System Enabled

Public variable UProperty Category, EditAnywhere

bool

 

bAffectedByBrake

Whether brake should affect this wheel

Public variable UProperty Category, EditAnywhere

bool

 

bAffectedByEngine

Whether engine should power this wheel

Public variable UProperty Category, EditAnywhere

bool

 

bAffectedByHandbrake

Whether handbrake should affect this wheel

Public variable UProperty Category, EditAnywhere

bool

 

bAffectedBySteering

Whether steering should affect this wheel

Public variable UProperty Category, EditAnywhere

bool

 

bTractionControlEnabled

Straight Line Traction Control Enabled

Public variable UProperty Category, EditAnywhere

UStaticMesh ...

 

CollisionMesh

Static mesh with collision setup for wheel, will be used to create wheel shape (if empty, sphere will be added as wheel shape, check bDontCreateShape flag)

Public variable UProperty Transient

float

 

DebugLatForce

Lateral force the wheel is applying to the chassis.

Public variable UProperty Transient

float

 

DebugLatSlip

Lateral slip experienced by the wheel.

Public variable UProperty Transient

float

 

DebugLongForce

Longitudinal force the wheel is applying to the chassis.

Public variable UProperty Transient

float

 

DebugLongSlip

Longitudinal slip experienced by the wheel.

Public variable

float

 

DebugNormalizedTireLoad

How much force the tire experiences at rest divided by how much force it is experiencing now.

Public variable UProperty Transient

float

 

DebugTireLoad

How much force the tire is experiencing now.

Public variable UProperty Transient

float

 

DebugWheelTorque

Wheel torque.

Public variable

FHitResult

 

HitResult

Suspension raycast results

Public variable UProperty Category, EditAnywhere, Meta

float

 

LateralFrictionForceMultiplier

Lateral Friction Force Multiplier

Public variable UProperty Transient

FVector

 

Location

Worldspace location of this wheel.

Public variable UProperty Category, EditAnywhere

float

 

LongitudinalFrictionForceMultiplier

Mass of this wheel Longitudinal Friction Force Multiplier

Public variable UProperty Category, EditAnywhere

float

 

MaxBrakeTorque

Max brake torque for this wheel (Nm)

Public variable UProperty Transient

float

 

MaxHandBrakeTorque

Max handbrake brake torque for this wheel (Nm).

Public variable UProperty Category, EditAnywhere

float

 

MaxSteerAngle

Steer angle in degrees for this wheel

Public variable UProperty Category, EditDefaultsOnly

const FObjectIn...

 

ObjectInitializer

Public variable UProperty Category, EditAnywhere, Meta

FVector

 

Offset

If BoneName is specified, offset the wheel from the bone's location.

Public variable UProperty Transient

FVector

 

OldLocation

Worldspace location of this wheel last frame.

Public variable UProperty Category, EditAnywhere

float

 

RollbarScaling

Anti-roll effect

Public variable UProperty Category, EditAnywhere, Meta

float

 

SideSlipModifier

Wheel Lateral Skid Grip Loss, lower number less grip on skid

Public variable UProperty Category, EditAnywhere

float

 

SkidThreshold

Wheel Lateral Skid Threshold

Public variable UProperty Category, EditAnywhere, Meta

float

 

SlipThreshold

Wheel Longitudinal Slip Threshold

Public variable UProperty Category, EditAnywhere, Meta

float

 

SpringPreload

Spring Preload (N/m)

Public variable UProperty Category, EditAnywhere

float

 

SpringRate

Spring Force (N/m)

Public variable UProperty Category, EditAnywhere

FVector

 

SuspensionAxis

Max normalized tire load at which the tire can deliver no more lateral stiffness no matter how much extra load is applied to the tire.

Public variable UProperty Category, EditAnywhere, Meta

float

 

SuspensionDampingRatio

Oscillation frequency of suspension. Standard cars have values between 5 and 10

Public variable UProperty Category, EditAnywhere

FVector

 

SuspensionForceOffset

Vertical offset from where suspension forces are applied (along Z-axis)

Public variable UProperty Category, EditAnywhere

float

 

SuspensionMaxDrop

How far the wheel can drop below the resting position

Public variable UProperty Category, EditAnywhere

float

 

SuspensionMaxRaise

How far the wheel can go above the resting position

Public variable UProperty Category, EditAnywhere, Meta

int

 

SuspensionSmoothing

Smooth suspension [0-off, 10-max] - Warning might cause momentary visual inter-penetration of the wheel against objects/terrain

Public variable UProperty Category, EditAnywhere

*ESweepShap...

 

SweepShape

Now calculating damping from Suspension Damping Ratio - normalized value is slightly more meaningful ** Dampen rate of change of spring compression Dampen rate of change of spring extension Whether wheel suspension considers simple, complex, or both

Public variable UProperty Category, EditAnywhere

ESweepType

 

SweepType

Whether wheel suspension considers simple, complex, or both

Public variable

 

UChaosWheeledVehicleMovementComponent

Public variable UProperty Transient

UChaosWheeledVe...

 

VehicleSim

The vehicle that owns us

Public variable

FVector

 

Velocity

Current velocity of the wheel center (change in location over time)

Public variable UProperty Transient

int32

 

WheelIndex

Our index in the vehicle's (and setup's) wheels array.

Public variable UProperty Category, EditAnywhere

float

 

WheelLoadRatio

When 0 no weight load is transferred, 1 is Normal weight shift.

Public variable UProperty Category, EditAnywhere, Meta

float

 

WheelRadius

Radius of the wheel

Public variable UProperty Category, EditAnywhere

float

 

WheelWidth

Width of the wheel

Functions

Name Description

Public function

EAxleType

 

GetAxleType()

Public function

UPhysicalMat...

 

GetContactSurfaceMaterial()

Get contact surface material

Protected function

FVector

 

GetPhysicsLocation()

Get the wheel's location in physics land

Public function

const Chaos:...

 

GetPhysicsSuspensionConfig()

Public function

const Chaos:...

 

GetPhysicsWheelConfig()

Public function Const UFunction BlueprintCallable, Category

float

 

GetRotationAngle()

Public function Const UFunction BlueprintCallable, Category

float

 

GetSteerAngle()

Public function Const UFunction BlueprintCallable, Category

float

 

GetSuspensionOffset()

Public function

FChaosWheelS...

 

GetWheelSetup()

Get the Axle setup we were created from

Public function Virtual

void

 

Init

(
    UChaosWheeledVehicleMovementCompone...,
    int32 InWheelIndex
)

Initialize this wheel instance

Public function Const UFunction BlueprintCallable, Category

bool

 

IsInAir()

Public function Virtual

void

 

Shutdown()

Notify this wheel it will be removed from the scene

Public function Virtual

void

 

Tick

(
    float DeltaTime
)

Tick this class when the vehicle ticks

Overridden from UObject

Name Description

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Respond to a property change in editor

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