Pausing/Playing Event Ticks on Key Press
Hey Guys, Im trying to implement a system where upon pressing a key it plays the event(currently its set to having the static mesh rotate in place) and when the key is pressed again it pauses.
My current problem is that I dont know how to insert the functionality to pause the rotation by pressing the key or heck even starting it upon pressing the key.
Along with that I'm curious as to if theres a way to wind up or slow down the spinning of said object upon press/release
Any help would be majorly appreciated!
asked Jul 31 '17 at 06:00 PM in Blueprint Scripting
the blueprint should be like this:
answered May 28 '18 at 09:47 AM
N Flip-Flop means that you do a and b in order. First time it is executed, it does a, second time b, third time a, fourth time b and so on.
You can use the built in function "Set Actor Tick Enabled" to decide if "Event tick" should fire or not.
answered May 28 '18 at 03:23 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here