Author |
Message |
Asklar
Data Realms Elite
Joined: Fri Jan 07, 2011 8:01 am Posts: 6211 Location: In your office, earning your salary.
|
Timer
Is there any function to know in which MS or S the timer is?
|
Mon Sep 19, 2011 10:18 pm |
|
|
Roast Veg
Data Realms Elite
Joined: Tue May 25, 2010 8:27 pm Posts: 4521 Location: Constant motion
|
Re: Timer
Well simply checking whether it ticks over less than once a frame update would tell you pretty reliably.
|
Mon Sep 19, 2011 10:22 pm |
|
|
Asklar
Data Realms Elite
Joined: Fri Jan 07, 2011 8:01 am Posts: 6211 Location: In your office, earning your salary.
|
Re: Timer
Excuse my ignorance, but how would I do that?
|
Mon Sep 19, 2011 10:23 pm |
|
|
Roast Veg
Data Realms Elite
Joined: Tue May 25, 2010 8:27 pm Posts: 4521 Location: Constant motion
|
Re: Timer
By timing the timer, using a MS timer, and see if they change at the same rate or not.
|
Mon Sep 19, 2011 10:26 pm |
|
|
CaveCricket48
Joined: Tue Jun 12, 2007 11:52 pm Posts: 13144 Location: Here
|
Re: Timer
Code: Timer.ElapsedSimTimeS or Code: Timer.ElapsedSimTimeMS is what you might be looking for if I understood your question.
|
Mon Sep 19, 2011 10:43 pm |
|
|
Asklar
Data Realms Elite
Joined: Fri Jan 07, 2011 8:01 am Posts: 6211 Location: In your office, earning your salary.
|
Re: Timer
Yes, that's what I was looking for. Thanks!
|
Mon Sep 19, 2011 10:50 pm |
|
|
|