text: // Fill out your copyright notice in the Description page of Project Settings.
  
  #pragma once
  
  #include "CoreMinimal.h"
  #include "Components/StaticMeshComponent.h"
  #include "TankTrack.generated.h"
  
  /**
   * TankTrack is used to set maximum driving force, and to apply forces to the tank
   */
  UCLASS(meta = (BlueprintSpawnableComponent))
  class BATTLETANK_API UTankTrack : public UStaticMeshComponent
  {
  	GENERATED_BODY()
  
  public:
  	// Add rotation to the track
  	UFUNCTION(BlueprintCallable, Category = Input)
  	void SetThrottleRotation(float Throttle);
  
  	// Add rotation to the track
  	UFUNCTION(BlueprintCallable, Category = Input)
  	void SetThrottle(float Throttle);
  
  	// Max force per track in newtons
  	UPROPERTY(EditDefaultsOnly)
  	float TrackMaxDrivingForce = 100;
  };
  