UTireConfig

Represents a type of tire surface used to specify friction values against physical materials.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

PhysXVehicles

Header

/Engine/Plugins/Runtime/PhysXVehicles/Source/PhysXVehicles/Public/TireConfig.h

Include

#include "TireConfig.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class UTireConfig : public UDataAsset

Remarks

Represents a type of tire surface used to specify friction values against physical materials.

Constructors

Name Description

Public function

UTireConfig()

Functions

Name Description

Public function

float

 

GetFrictionScale()

Getter for FrictionScale

Public function

int32

 

GetTireConfigID()

Getter for TireConfigID

Public function

float

 

GetTireFriction

(
    UPhysicalMaterial* PhysicalMat...
)

Get the friction for this tire config on a particular physical material

Protected function

void

 

NotifyTireFrictionUpdated()

Add this tire type to the TireConfigs array

Public function

void

 

SetFrictionScale

(
    float NewFrictionScale
)

Setter for FrictionScale

Public function

void

 

SetPerMaterialFrictionScale

(
    UPhysicalMaterial* PhysicalMat...,
    float NewFrictionScale
)

Set friction scaling for a particular material

Overridden from UObject

Name Description

Public function Virtual

void

 

BeginDestroy()

Called before destroying the object.

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Respond to a property change in editor

Public function Virtual

void

 

PostInitProperties()

Called after the C++ constructor and after the properties have been initialized, but before the config has been loaded, etc.

Constants

Name

Description

AllTireConfigs

All loaded tire types - used to assign each tire type a unique TireConfigID.

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