Sprint FOV Question

Hello, I set up my character to sprint when pressing Left Shift when moving forward and I added the FOV change while sprinting. My question is how do I disable the FOV change when the character is actually standing still? When Im standing still and press Left Shift the FOV increases because it thinks its sprinting. How do I disable that? I feel like I do have an idea what to do but I dont know which nodes to connect and how to actually put it in Blueprint logic that when my velocity is greater than 0 only then increase the FOV. Please help

well simple way to check if character velocity is like below

What you should do actually to be alittle bit nicer.

Make a new function in the beginning of button as CanSprint
and make a return on that so it will never run functions if you define what conditions it can sprint.

How do I connect the velocity to the FOV node?

This worked thank you!

1 Like

here is a simple way of doing it. You can just make it on the tick if character gets 1100m/s fov changes to another value.