AWheeledVehicle

WheeledVehicle is the base wheeled vehicle pawn actor.

Windows
MacOS
Linux

Inheritance Hierarchy

Syntax

UCLASS(Abstract, Config=Game, BlueprintType)
class AWheeledVehicle : public APawn

Remarks

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

Constructors

Name Description

Public function

AWheeledVehicle

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Const

USkeletalMes...

 

GetMesh()

Returns Mesh subobject

Public function Const

UWheeledVehi...

 

GetVehicleMovement()

Returns VehicleMovement subobject

Public function Const

UWheeledVehi...

 

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.

See Also

References

Module

PhysXVehicles

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback