Added delay to skyrim

This commit is contained in:
Melbyj1125
2022-04-08 18:48:37 -05:00
parent 4b06e6d71d
commit 75813c3b4b
6 changed files with 22 additions and 12 deletions

View File

@@ -245,7 +245,7 @@ public class dAerialStateManager : NetworkBehaviour
}
}
}
else if(Physics.Raycast(groundRay, out groundHit, moveController.height + groundSlantDistance) && !jumpPressed){
else if(Physics.Raycast(groundRay, out groundHit, moveController.height + groundSlantDistance) && !jumpPressed && curCoyJumpTimer <= 0){
if(Vector3.Dot(groundHit.normal, transform.up) > 0f){
moveController.Move(groundHit.normal * 20 * Time.deltaTime);
mSM.CancelMomentum();