Question about using Gate for Physics

I’m running into problems making something fly with add force and event tick. Obviously because its getting called every frame and that depends on how many FPS each player is getting.

I read a better way is to use a gate then maybe a delay so you have a constant force being applied like every 0.5 seconds or something.

But I actually don’t understand how the gate blueprint works at all. Can someone explain how it works, I don’t know what enter open close and exit does.

Can someone please show a example of using a gate to make something fly (add force) at a timed interval, and explain how the gate works. Thanks in advance.

A gate works just like an actual gate would work in reality. Something reaches a gate and if it’s closed, it wont get through. If it’s open, it does get through.

Enter is the signal that tries to get through the gate. Open and Close do what they say, they either open the gate and let signals through or close it to stop it from getting through. Exit is the place the Enter signal goes to if it gets through.

You can make the end loop back over into the Enter slot if you want it to go on forever until you close the gate. So in this case, if you hit 2 it will at first hit the gate and do nothing because it starts as closed. If you hit 3 and then 2, the signal goes through adds some movement, delays the signal by a second and then goes through the gate again for as long as you close the gate with 4.

You could also have a keypress send the first signal into Enter and Open, which then starts the loop going and releasing the key would run into Close, which stops it. Which would work for doing a continuous action while a key is held down.

Thanks you were very helpful !