| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Runtime/PhysXVehicles/Source/PhysXVehicles/Public/WheeledVehicle.h |
Include |
#include "WheeledVehicle.h" |
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(Abstract, Config=Game, BlueprintType)
class AWheeledVehicle : public APawn
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
Name | Description | |
---|---|---|
|
AWheeledVehicle ( |
Name | Description | ||
---|---|---|---|
|
USkeletalMes... |
GetMesh() |
Returns Mesh subobject |
|
UWheeledVehi... |
GetVehicleMovement() |
Returns VehicleMovement subobject |
|
UWheeledVehi... |
GetVehicleMovementComponent() |
Util to get the wheeled vehicle movement component |
Name | Description | ||
---|---|---|---|
|
DisplayDebug ( |
Name |
Description |
---|---|
VehicleMeshComponentName |
Name of the MeshComponent. |
VehicleMovementComponentName |
Name of the VehicleMovement. |