onFixedUpdate
Last updated
Was this helpful?
Last updated
Was this helpful?
As the function, this function is made to update values of GameObject.
The difference between onUpdate and this function, is when it is call. onFixedUpdate is call each fixedTime during the game. fixedTime is a variable set in KEngine and can be modify.
If you do not change the value of fixedTime, onFixedUpdate is called each 25ms.
You can change fixedTime by using this line of code :