Sprinting and ADS happening together

BhagwaBilla
Sun, 20 Dec 2020 08:32:44 +0000
Character & Animation

Hi, I have set up a first-person character with a body and animations. next, I set up a sprint logic which works perfectly in isolation. then I set up an ADS system. even that works almost perfectly. I am using the animation starter pack and a weapon from the FPS assault pack

I want the player to start sprinting if I am holding ADS but press sprint (essentially come out of ADS mode) and if the player is sprinting and I press the ADS key then the player should stop sprinting and go into ADS mode. I thought a simple boolean should do the trick but it seems to not work. Right now when I Sprint the camera moves in but the player keeps sprinting.

attaching blueprint screenshots for both ADS and Sprinting.
ADS+Sprinting BP

8 posts - 1 participant