I'm coding some basic physics for my Caretaker plugin and I need to know what time fractions to consider.
Solved How often does FixedUpdate() update in Rust?
Discussion in 'Rust Development' started by rotten, Sep 1, 2017.
-
-
The tick rate depends on the specific implementation, but it also doesn't particularly matter. You can use something like Time.deltaTime * speedPerSecond to determine the fractional amount of movement in any particular tick.
[DOUBLEPOST=1504303677][/DOUBLEPOST]Also, it's worth noting that the amount of time between calls to Update or FixedUpdate can vary greatly, even if you have a "target" update tick rate, which is where Time.deltaTime comes into play to help smooth out the movement. The first page or two of Googling "unity3d fixedupdate" yields some useful threads/blogs regarding the behavior of Update vs FixedUpdate and when/how to use eachLast edited by a moderator: Sep 1, 2017 -