Switching between Prone and Crouch

Hello guys,

i added inputs for prone and crouch, which i can use perfectly
when i hit “c” for crouch → character goes in crouch
when i hit “ctrl left” for prone → character goes in prone.
Also it works when i hit in prone state “c” → the character goes in crouch state, but whe i hit “c” again he starts going in “Prone” state. Is there a method to leave the prone state by hitting “c” for crouch, where i can change with the options hit "c again character stays up or hit “ctrl left” go back in prone.

Hallo !

After set CrouchPressed to true you should add a set PronePressed to false.

Hope it helps.

Thanks AZTECO,

this is the Solution! I’m searching for Hours to fix this :slight_smile:

Done this and works =)