Language:
Discover
By Skill Level
By Category

AWheeledVehicle

Choose your OS:

Inheritance Hierarchy

Syntax

UCLASS ([Abstract](Programming/UnrealArchitecture/Reference/Classes/Specifiers/Abstract), [Config=Game](Programming/UnrealArchitecture/Reference/Classes/Specifiers/Config), [BlueprintType](Programming/UnrealArchitecture/Reference/Classes/Specifiers/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.SetDefautSubobjectClass<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

USkeletalMes ...

 

GetMesh()

Returns Mesh subobject

Public function

UWheeledVehi ...

 

GetVehicleMovement()

Returns VehicleMovement subobject

Public function

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