Hello!
I want to create a racing game where the player has to beat a certain lap time to advance to the next stage but it’s unfair if the framerate is low… Is there a way to time the lap with framerate in mind?
Thanks and cheers, mICON
Hello!
I want to create a racing game where the player has to beat a certain lap time to advance to the next stage but it’s unfair if the framerate is low… Is there a way to time the lap with framerate in mind?
Thanks and cheers, mICON
Unfortunately, it won’t ever fair if it’s lagging. As I see it you have two options:
Get world time in seconds Or Delta Time!
Both result in framerate independent timings.