public void SetActive(int maxLogs)
 {
     TimeManager.AddToList(this);
     _maxLog = maxLogs;
     loggedPositions.Capacity = _maxLog;
     InvokeRepeating("LogPosition", 0, 0.1f);
     PostRewind();
     rb.velocity = startVelocity;
 }