Navigation
API > API/Plugins > API/Plugins/ChaosVehicles
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- AActor
- APawn
- AWheeledVehiclePawn
References
| Module | ChaosVehicles |
| Header | /Engine/Plugins/Experimental/ChaosVehiclesPlugin/Source/ChaosVehicles/Public/WheeledVehiclePawn.h |
| Include | #include "WheeledVehiclePawn.h" |
Syntax
UCLASS&40;Abstract, Config&61;Game, BlueprintType&41;
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
Constructors
| Type | Name | Description | |
|---|---|---|---|
AWheeledVehiclePawn
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| USkeletalMeshComponent * | GetMesh () |
Returns Mesh subobject | |
| UChaosVehicleMovementComponent * | Returns VehicleMovement subobject | ||
| UChaosVehicleMovementComponent * | Util to get the wheeled vehicle movement component |
Overridden from APawn
| Type | Name | Description | |
|---|---|---|---|
| void | DisplayDebug
(
UCanvas* Canvas, |
Constants
| Name | Description |
|---|---|
| VehicleMeshComponentName | Name of the MeshComponent. |
| VehicleMovementComponentName | Name of the VehicleMovement. |