Hello everybody I'm having problems with the main character, basically I want to make that:
When - Left mouse clicked (gun) >> set animation to (player_gun)
But then:
When Key (S) is down (Player Crouch) >> set animation to (player_crouch)
But how do i make so when player has already picked up the gun before, then when he presses (S) then play animation (Player_crouch_gun).
And another problem is when I get stopped by the wall because the player is too big to go through and still holding button go left.... as soon as I press S to crouch it's teleporting him as he was walking with out stopping? So it moves him to the position like the player never stopped.
Thanks for attention!