diff --git a/Assets/Scripts/LurchMovement.cs b/Assets/Scripts/LurchMovement.cs index fd734d3..d38fda2 100644 --- a/Assets/Scripts/LurchMovement.cs +++ b/Assets/Scripts/LurchMovement.cs @@ -82,6 +82,10 @@ public class LurchMovement : MonoBehaviour { StickToPoint(); } + public void DontStick() + { + stickToGround = false; + } void MouseControl() { float mouseInputX = Input.GetAxis("Mouse X") * mouseSensitivity; diff --git a/Assets/Scripts/LurchRespawn.cs b/Assets/Scripts/LurchRespawn.cs index c578901..92bf60a 100644 --- a/Assets/Scripts/LurchRespawn.cs +++ b/Assets/Scripts/LurchRespawn.cs @@ -114,6 +114,7 @@ public class LurchRespawn : MonoBehaviour { public void RespawnLurch(string message = "Lurch respawned") { Debug.LogWarning("Lurch respawned: " + message); + compLurchMovement.DontStick(); lurch.transform.position = lastRespawnPoint.transform.position; }