Hi, I have a noob question.
Some of my characters and bullets uses translate to move so is it a best practice to always use .deltatime for the best accuracy result?
Thanks
Hi, I have a noob question.
Some of my characters and bullets uses translate to move so is it a best practice to always use .deltatime for the best accuracy result?
Thanks
Time.deltaTime is just a multiplier to ensure that is not frame related if some of the frames are skipped.
Although you might find that code that uses deltaTime in Update will run differently on different devices.
So, if you want something that runs completely at certain rate without being altered by the framerate, it’s better to use .FixedUpdate & Time.fixedDeltaTime (Although using Time.deltaTime in FixedUpdate will return Time.fixedDeltaTime anyway) instead.