14 #include "CarSimMovementComponent.h" 17 #include "CarSimManagerComponent.generated.h" 21 UCLASS(Blueprintable, meta=(BlueprintSpawnableComponent) )
29 UCarSimMovementComponent * CarSimMovementComponent;
34 static void CreateCarsimComponent(
37 FString SimfilePath =
"";
41 virtual void TickComponent(
float DeltaTime, ELevelTick TickType, FActorComponentTickFunction* ThisTickFunction)
override;
47 virtual void EndPlay(
const EEndPlayReason::Type EndPlayReason)
override;
49 void UseCarSimRoad(
bool bEnabled);
61 FVector NormalImpulse,
62 const FHitResult &Hit);
72 const FHitResult & SweepResult);
80 int32 OtherBodyIndex);
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)
carla::SharedPtr< cc::Actor > Actor
virtual void BeginPlay() override
int32 GetVehicleCurrentGear() const
Active gear of the vehicle.
Base class for CARLA wheeled vehicles.