[FIX] Lurch respawn

Fixed issues with respawning the lurch when sticking to ground
This commit is contained in:
Jan Groß
2018-09-02 17:57:38 +02:00
parent 7be249b397
commit a33228238f
2 changed files with 5 additions and 0 deletions

View File

@@ -82,6 +82,10 @@ public class LurchMovement : MonoBehaviour {
StickToPoint();
}
public void DontStick()
{
stickToGround = false;
}
void MouseControl()
{
float mouseInputX = Input.GetAxis("Mouse X") * mouseSensitivity;