How to make a variable change loop from a min and max?
I followed this wiki tutorial and have it exactly as instructed: https://wiki.unrealengine.com/Pick_Up_Physics_Object_Tutorial
Everything works! I am trying to add on top of that, an ability for the float value that is multiplied with the forward vector to change based on how long the key was held.
I've tried float range but only found Random Float in Range from Stream . I'd like the range to increment between two numbers.
Any help will be appreciated. I've tried a couple of things such as a custom Timetable and Get input key time down
Im certain I am doing it wrong.
asked Dec 14 '14 at 11:29 PM in Blueprint Scripting
Why not use another variable and simply increase it each tick by a value times delta time (so different fps won't affect this effect).
You can clamp the value right before the usage which would set the limits you want. Whenever you press the key reset that new variable and you're good to go.
answered Dec 14 '14 at 11:46 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here