CARLA
Public Member Functions | Static Public Member Functions | List of all members
UDefaultMovementComponent Class Reference

#include <DefaultMovementComponent.h>

+ Inheritance diagram for UDefaultMovementComponent:
+ Collaboration diagram for UDefaultMovementComponent:

Public Member Functions

virtual void BeginPlay () override
 
int32 GetVehicleCurrentGear () const override
 
float GetVehicleForwardSpeed () const override
 
void ProcessControl (FVehicleControl &Control) override
 
- Public Member Functions inherited from UBaseCarlaMovementComponent
virtual FVector GetVelocity () const
 

Static Public Member Functions

static void CreateDefaultMovementComponent (ACarlaWheeledVehicle *Vehicle)
 

Additional Inherited Members

- Protected Member Functions inherited from UBaseCarlaMovementComponent
void DisableUE4VehiclePhysics ()
 
void EnableUE4VehiclePhysics (bool bResetVelocity=true)
 
- Protected Attributes inherited from UBaseCarlaMovementComponent
ACarlaWheeledVehicleCarlaVehicle
 

Detailed Description

Definition at line 15 of file DefaultMovementComponent.h.

Member Function Documentation

◆ BeginPlay()

void UDefaultMovementComponent::BeginPlay ( )
overridevirtual

Reimplemented from UBaseCarlaMovementComponent.

Definition at line 18 of file DefaultMovementComponent.cpp.

◆ CreateDefaultMovementComponent()

void UDefaultMovementComponent::CreateDefaultMovementComponent ( ACarlaWheeledVehicle Vehicle)
static

Definition at line 11 of file DefaultMovementComponent.cpp.

References ACarlaWheeledVehicle::SetCarlaMovementComponent(), and Vehicle.

Referenced by ACarlaWheeledVehicle::BeginPlay(), UChronoMovementComponent::CreateChronoMovementComponent(), UChronoMovementComponent::DisableChronoPhysics(), UCarSimManagerComponent::OnCarSimHit(), and UCarSimManagerComponent::OnCarSimOverlap().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetVehicleCurrentGear()

int32 UDefaultMovementComponent::GetVehicleCurrentGear ( ) const
overridevirtual

◆ GetVehicleForwardSpeed()

float UDefaultMovementComponent::GetVehicleForwardSpeed ( ) const
overridevirtual

◆ ProcessControl()

void UDefaultMovementComponent::ProcessControl ( FVehicleControl Control)
overridevirtual

The documentation for this class was generated from the following files: