mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-08-21 18:04:27 -05:00
Implemented Crouch walking
This commit is contained in:
@@ -32,6 +32,7 @@ public class dMoveSlideState : dMoveBaseState
|
||||
//if state is crouch revert traction
|
||||
else{
|
||||
mSM.pStats.CurTraction = mSM.pStats.Traction;
|
||||
mSM.gameObject.transform.localEulerAngles = new Vector3(0, 0, 0);
|
||||
}
|
||||
mSM.GetComponent<Animator>().SetBool("isSliding", false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user