Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Studio Chat / GetPhysicsSolveTime()

Author
Message
blink0k
Moderator
7
Years of Service
Recently Online
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 17th Jun 2020 23:53
It appears that 2D physics GetPhysicsSolveTime() reports up to a tenth of a second regularly even though there is no 2D physics occurring at all
Bengismo
2
Years of Service
User Offline
Joined: 20th Nov 2017
Location: Yorkshire, England
Posted: 17th Jun 2020 23:58 Edited at: 17th Jun 2020 23:59
As per the documentation, the time is in milliseconds.

0.1ms = 0.0001 secs = 1/10000th of a second. Nothing to be worried about.
blink0k
Moderator
7
Years of Service
Recently Online
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 18th Jun 2020 00:16
My bad. I had it confused with GetPhysicsTime()
Bengismo
2
Years of Service
User Offline
Joined: 20th Nov 2017
Location: Yorkshire, England
Posted: 18th Jun 2020 11:09
It caught me too .....pretty much all of the other time and bench-marking functions give a time in seconds so it is a bit of an odd one out.

Login to post a reply

Server time is: 2020-08-04 03:58:04
Your offset time is: 2020-08-04 03:58:04