FChaosVehicleManager

#todo: We probably want this to be associated with a physics solver.

Windows
MacOS
Linux

References

Module

ChaosVehicles

Header

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

Include

#include "ChaosVehicleManager.h"

Syntax

class FChaosVehicleManager

Remarks

#todo: We probably want this to be associated with a physics solver. So simulation can be isolated if desired. Physics scene based currently Manages vehicles and tire surface data for all scenes

Constructors

Name Description

Public function

FChaosVehicleManager

(
    FPhysScene* PhysScene
)

Destructors

Name Description

Public function

~FChaosVehicleManager()

Functions

Name Description

Public function

void

 

AddVehicle

Register a Physics vehicle for processing

Public function

void

 

DetachFromPhysScene

(
    FPhysScene* PhysScene
)

Detach this vehicle manager from a FPhysScene (remove delegates, remove from map etc)

Public function Static

UChaosTireCo...

 

GetDefaultTireConfig()

Gets a transient default TireConfig object

Public function Static

FChaosVehicl...

 

GetVehicleManagerFromScene

(
    FPhysScene* PhysScene
)

Find a vehicle manager from an FPhysScene

Public function

void

 

PreTick

(
    FPhysScene* PhysScene,
    float DeltaTime
)

Update vehicle tuning and other state such as input

Public function

void

 

RemoveVehicle

Unregister a Physics vehicle from processing

Public function

void

 

Update

(
    FPhysScene* PhysScene,
    float DeltaTime
)

Update vehicle data before the scene simulates

Constants

Name

Description

SceneToVehicleManagerMap

Map of physics scenes to corresponding vehicle manager

VehicleSetupTag

Updated when vehicles need to recreate their physics state.

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