Framerate dependent lap timer

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

Get world time in seconds Or Delta Time!

Both result in framerate independent timings.