#include <CarSimManagerComponent.h>
Inheritance diagram for UCarSimManagerComponent:
Collaboration diagram for UCarSimManagerComponent:Public Member Functions | |
| virtual void | BeginPlay () override |
| virtual void | EndPlay (const EEndPlayReason::Type EndPlayReason) override |
| int32 | GetVehicleCurrentGear () const override |
| float | GetVehicleForwardSpeed () const override |
| FVector | GetVelocity () const override |
| void | ProcessControl (FVehicleControl &Control) override |
| virtual void | TickComponent (float DeltaTime, ELevelTick TickType, FActorComponentTickFunction *ThisTickFunction) override |
| void | UseCarSimRoad (bool bEnabled) |
Static Public Member Functions | |
| static void | CreateCarsimComponent (ACarlaWheeledVehicle *Vehicle, FString Simfile) |
Public Attributes | |
| FString | SimfilePath = "" |
Private Member Functions | |
| void | OnCarSimEndOverlap (UPrimitiveComponent *OverlappedComponent, AActor *OtherActor, UPrimitiveComponent *OtherComp, int32 OtherBodyIndex) |
| void | OnCarSimHit (AActor *Actor, AActor *OtherActor, FVector NormalImpulse, const FHitResult &Hit) |
| void | OnCarSimOverlap (UPrimitiveComponent *OverlappedComponent, AActor *OtherActor, UPrimitiveComponent *OtherComp, int32 OtherBodyIndex, bool bFromSweep, const FHitResult &SweepResult) |
Additional Inherited Members | |
Protected Member Functions inherited from UBaseCarlaMovementComponent | |
| void | DisableUE4VehiclePhysics () |
| void | EnableUE4VehiclePhysics (bool bResetVelocity=true) |
Protected Attributes inherited from UBaseCarlaMovementComponent | |
| ACarlaWheeledVehicle * | CarlaVehicle |
Definition at line 22 of file CarSimManagerComponent.h.
|
overridevirtual |
Reimplemented from UBaseCarlaMovementComponent.
Definition at line 31 of file CarSimManagerComponent.cpp.
References UBaseCarlaMovementComponent::CarlaVehicle, ACarlaWheeledVehicle::CarSimOriginOffset, carla::log_warning(), OnCarSimEndOverlap(), OnCarSimHit(), OnCarSimOverlap(), and SimfilePath.
Here is the call graph for this function:
|
static |
Definition at line 18 of file CarSimManagerComponent.cpp.
References ACarlaWheeledVehicle::SetCarlaMovementComponent(), SimfilePath, and Vehicle.
Referenced by FVehicleActor::EnableCarSim().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Definition at line 185 of file CarSimManagerComponent.cpp.
References UBaseCarlaMovementComponent::CarlaVehicle, OnCarSimEndOverlap(), OnCarSimHit(), and OnCarSimOverlap().
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from UBaseCarlaMovementComponent.
Definition at line 216 of file CarSimManagerComponent.cpp.
|
overridevirtual |
Reimplemented from UBaseCarlaMovementComponent.
Definition at line 225 of file CarSimManagerComponent.cpp.
|
overridevirtual |
Reimplemented from UBaseCarlaMovementComponent.
Definition at line 207 of file CarSimManagerComponent.cpp.
|
private |
Definition at line 168 of file CarSimManagerComponent.cpp.
Referenced by BeginPlay(), and EndPlay().
Here is the caller graph for this function:
|
private |
Definition at line 106 of file CarSimManagerComponent.cpp.
References UBaseCarlaMovementComponent::CarlaVehicle, UDefaultMovementComponent::CreateDefaultMovementComponent(), carla::log_warning(), and ACarlaWheeledVehicle::RestoreVehiclePhysicsControl().
Referenced by BeginPlay(), and EndPlay().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 134 of file CarSimManagerComponent.cpp.
References UBaseCarlaMovementComponent::CarlaVehicle, UDefaultMovementComponent::CreateDefaultMovementComponent(), carla::log_warning(), and ACarlaWheeledVehicle::RestoreVehiclePhysicsControl().
Referenced by BeginPlay(), and EndPlay().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from UBaseCarlaMovementComponent.
Definition at line 92 of file CarSimManagerComponent.cpp.
References FVehicleControl::bHandBrake, FVehicleControl::Brake, FVehicleControl::Gear, FVehicleControl::Steer, and FVehicleControl::Throttle.
|
overridevirtual |
Definition at line 88 of file CarSimManagerComponent.cpp.
| void UCarSimManagerComponent::UseCarSimRoad | ( | bool | bEnabled | ) |
Definition at line 175 of file CarSimManagerComponent.cpp.
Referenced by FVehicleActor::UseCarSimRoad().
Here is the caller graph for this function:| FString UCarSimManagerComponent::SimfilePath = "" |
Definition at line 37 of file CarSimManagerComponent.h.
Referenced by BeginPlay(), and CreateCarsimComponent().
1.8.13