Hello,
How would i go about editing the Mecanim script for the player to allow for crouch idle, crouch to sneak, then on key press crouch to normal idle.
As of now i have a working controller for standing idle with walking and running transitions, but id like to be able to go from standing idle to a crouch then be able to sneak until i press the crouch key again.
I assume this would be done with a bool, but i cant get it to work because i cant make controls for any new bools on the players script. I would also need the players collider height to be 1/2 smaller obviously so that the players collider would be relative to the players height at the time of sneaking.
Comments