Download

Rotation object by pressing button

Hi, I have a question. How to make object rotate only if player press key (F) fast many times, and if player tor pressing key, rotation starts over again.

Do you know how to rotate objects?

You can do a delay reset node, that when the delay time elapse, the press sequence fails.

You probably want a timeline node, that you call with ‘F’ to the timeline node Play From beginning. And if the timeline completes, it means the player is not fast enough to press it?

You can do some kind of BPM Calculator, where you measure the average time between presses in a certain time, and if the average goes below certain value, it fails.

What elements are you missing or what do you need help with?