15#include "CarSimMovementComponent.h"
18#include "CarSimManagerComponent.generated.h"
25UCLASS(Blueprintable, meta=(BlueprintSpawnableComponent))
32 UCarSimMovementComponent* CarSimMovementComponent;
38 static void CreateCarsimComponent(
41 FString SimfilePath =
"";
47 virtual void TickComponent(
float DeltaTime, ELevelTick TickType, FActorComponentTickFunction* ThisTickFunction)
override;
56 virtual void EndPlay(
const EEndPlayReason::Type EndPlayReason)
override;
59 void UseCarSimRoad(
bool bEnabled);
68 void DisableCarSimPhysics();
71 virtual void DisableSpecialPhysics()
override;
79 FVector NormalImpulse,
80 const FHitResult& Hit);
89 const FHitResult& SweepResult);
96 int32 OtherBodyIndex);
TSharedPtr< const FActorInfo > carla::rpc::ActorState UWorld Actor
Base class for CARLA wheeled vehicles.
virtual void BeginPlay() override
int32 GetVehicleCurrentGear() const
Active gear of the vehicle.
float GetVehicleForwardSpeed() const
Forward speed in cm/s. Might be negative if goes backwards.
virtual FVector GetVelocity() const override
virtual void EndPlay(const EEndPlayReason::Type EndPlayReason)