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);
59 void OnCarSimHit(
AActor *Actor,
61 FVector NormalImpulse,
62 const FHitResult &Hit);
67 void OnCarSimOverlap(UPrimitiveComponent* OverlappedComponent,
69 UPrimitiveComponent* OtherComp,
72 const FHitResult & SweepResult);
77 void OnCarSimEndOverlap(UPrimitiveComponent* OverlappedComponent,
79 UPrimitiveComponent* OtherComp,
80 int32 OtherBodyIndex);