Removed erroneous force application to player.

This commit is contained in:
Khauvinkh 2024-08-17 20:47:21 +02:00
parent dc6b67ccd3
commit ece1afe008

View File

@ -41,10 +41,6 @@ public class TrashBin : MonoBehaviour
_cooldownTimer = CooldownDuration; _cooldownTimer = CooldownDuration;
_targetPosition = ClosedAnchor.position; _targetPosition = ClosedAnchor.position;
} }
else
{
rb.AddForce(5f * Vector3.up);
}
} }
public void OnTriggerExit(Collider collider) public void OnTriggerExit(Collider collider)