added fire animation and fire rate

This commit is contained in:
juliuse98
2021-11-06 17:07:06 +01:00
parent 4fc928f530
commit 360ceb55f3
8 changed files with 217 additions and 189 deletions

View File

@@ -76,7 +76,7 @@ public class PlayerMouseLook : NetworkBehaviour
}
playerCamera.position = playerNeck.position;
playerCamera.position += playerNeck.up * neckLength;
transform.Rotate(Vector3.up * currentMouseDelta.x * mouseSensitivity); //Rotate the hole player if looked sideways (Rotates the player left and right)
}