AWheeledVehiclePawn

ChaosWheeledVehicle is the base wheeled vehicle pawn actor.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

ChaosVehicles

Header

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

Include

#include "WheeledVehiclePawn.h"

Syntax

UCLASS(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.