I was wondering:
Is there a way to make so in the same script I can give Controller Input in Update and then forward it to FixedUpdate so I don’t have to go around using lots of “Time.deltaTime” in Update?
Right now I can do it through getting input in Update and using a boolean variable to enable the script in FixedUpdate, but that feels more like a hack than proper programming habits.
So what’s the non-illiterate way to do it?
Honestly, storing a ‘do action’ bool in the update, and performing it in the fixedupdate is a totally legit way of doing that.
Personally though, what I did was went and wrote an input manager that updated both a Fixed version of inputs, and a regular Update version of inputs. This way you could get timed inputs in either (I’m assuming you want the ButtonDown and ButtonRelease calls to time correctly).