mirror of
https://github.com/nothke/quality-control.git
synced 2024-12-21 23:37:29 +00:00
Removed erroneous force application to player.
This commit is contained in:
parent
dc6b67ccd3
commit
ece1afe008
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user