AWheeledVehiclePawn

ChaosWheeledVehicle is the base wheeled vehicle pawn actor.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

ChaosVehicles

Header

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

Include

#include "WheeledVehiclePawn.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(Abstract, Config=Game, BlueprintType)
class AWheeledVehiclePawn : public APawn

Remarks

ChaosWheeledVehicle is the base wheeled vehicle pawn actor. By default it uses UChaosWheeledVehicleMovementComponent for its simulation, but this can be overridden by inheriting from the class and modifying its constructor like so: Super(ObjectInitializer.SetDefaultSubobjectClass<UMyMovement>(VehicleComponentName)) Where UMyMovement is the new movement type that inherits from UChaosVehicleMovementComponent

Constructors

Name Description

Public function

AWheeledVehiclePawn

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Const

USkeletalMes...

 

GetMesh()

Returns Mesh subobject

Public function Const

UChaosVehicl...

 

GetVehicleMovement()

Returns VehicleMovement subobject

Public function Const

UChaosVehicl...

 

GetVehicleMovementComponent()

Util to get the wheeled vehicle movement component

Overridden from APawn

Name Description

Public function Virtual

void

 

DisplayDebug

(
    UCanvas* Canvas,
    const FDebugDisplayInfo& DebugDisp...,
    float& YL,
    float& YPos
)

Constants

Name

Description

VehicleMeshComponentName

Name of the MeshComponent.

VehicleMovementComponentName

Name of the VehicleMovement.

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