Quantcast
Channel: Answers by "Graham-Dunnett"
Viewing all articles
Browse latest Browse all 959

Answer by Graham Dunnett

$
0
0
Well, use `Time.deltaTime` inside your `FixedUpdate()` if you want to include how many seconds the previous frame took to render. There is a `Time.fixedDeltaTime` which tells you the time between fixed updates. Since I've never seen any fixed update code that needs to know how long the previous frame took, I'd say don't use `Time.deltaTime` inside a `FixedUpdate()`.

Viewing all articles
Browse latest Browse all 959

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>