22 void UpdateWheelsFriction(
AActor *OtherActor, TArray<float>& NewFriction);
29 void OnTriggerBeginOverlap(
35 const FHitResult &SweepResult);
38 void OnTriggerEndOverlap(
42 int32 OtherBodyIndex);
56 Friction = NewFriction;
61 virtual void BeginPlay()
override;
63 virtual void EndPlay(EEndPlayReason::Type EndPlayReason)
override;
65 virtual void Tick(
float DeltaTime)
override;
72 UPROPERTY(EditAnywhere)
73 float Friction = 0.0f;
75 UPROPERTY(EditAnywhere)