AWheeledVehicle

WheeledVehicle is the base wheeled vehicle pawn actor.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

PhysXVehicles

Header

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

Include

#include "WheeledVehicle.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(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

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