CARLA
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
UBaseCarlaMovementComponent Class Reference

#include <BaseCarlaMovementComponent.h>

+ Inheritance diagram for UBaseCarlaMovementComponent:

Public Member Functions

virtual void BeginPlay () override
 
virtual int32 GetVehicleCurrentGear () const
 
virtual float GetVehicleForwardSpeed () const
 
virtual FVector GetVelocity () const
 
virtual void ProcessControl (FVehicleControl &Control)
 

Protected Member Functions

void DisableUE4VehiclePhysics ()
 
void EnableUE4VehiclePhysics (bool bResetVelocity=true)
 

Protected Attributes

ACarlaWheeledVehicle * CarlaVehicle
 

Detailed Description

Definition at line 21 of file BaseCarlaMovementComponent.h.

Member Function Documentation

◆ BeginPlay()

void UBaseCarlaMovementComponent::BeginPlay ( )
overridevirtual

Reimplemented in UCarSimManagerComponent, and UDefaultMovementComponent.

Definition at line 16 of file BaseCarlaMovementComponent.cpp.

References CarlaVehicle, and Vehicle.

◆ DisableUE4VehiclePhysics()

void UBaseCarlaMovementComponent::DisableUE4VehiclePhysics ( )
protected

Definition at line 54 of file BaseCarlaMovementComponent.cpp.

References CarlaVehicle.

◆ EnableUE4VehiclePhysics()

void UBaseCarlaMovementComponent::EnableUE4VehiclePhysics ( bool  bResetVelocity = true)
protected

◆ GetVehicleCurrentGear()

int32 UBaseCarlaMovementComponent::GetVehicleCurrentGear ( ) const
virtual

◆ GetVehicleForwardSpeed()

float UBaseCarlaMovementComponent::GetVehicleForwardSpeed ( ) const
virtual

◆ GetVelocity()

FVector UBaseCarlaMovementComponent::GetVelocity ( ) const
virtual

Reimplemented in UCarSimManagerComponent.

Definition at line 35 of file BaseCarlaMovementComponent.cpp.

References CarlaVehicle.

Referenced by EnableUE4VehiclePhysics(), and ACarlaWheeledVehicle::GetVelocity().

◆ ProcessControl()

void UBaseCarlaMovementComponent::ProcessControl ( FVehicleControl &  Control)
virtual

Member Data Documentation

◆ CarlaVehicle

ACarlaWheeledVehicle* UBaseCarlaMovementComponent::CarlaVehicle
protected

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