fixed update predicament

hi everyone quick questin on fixed update, i asked this a while ago but have never got a direct answer. i want to know how to assign a key press to a physics movement properly.

so for instance when i press down on my keyboard my ball moves forward by torque and when i take my finger of it slows down.

now my question how to assign the key press and physics properly i read that input should be done in an update function. however i need my torque in a fixed update. what is the proper way of doing this. should i use a simple fixeddelta time inside the update or assign a new script. currently all my controls are in one control manager to optimise script updates.

im also developing for iphone so i really need to know the best way for performance please thanks…

The problem in reading Input outside Update is related to functions that report button transitions (like GetKeyDown/Up, GetButtonDown/Up etc.), because these transitions are valid during the whole Update cycle where the event occurred. You will not have problems with functions that report continuous states like GetAxis, GetKey, GetButton etc. - what seems to be your case.