Here is a simple program that exposes the physics ticks / second
Tags
Vizzy14 Comments
- Log in to leave a comment
-
7,237 Nethereal
@pedro16797 please share the post with me and ill use the same one with anything that comes to mind for me :)
-
Dev AndrewGarrison
@pedro16797 Sure, but you can feel free to put it all in a single suggestion post. I'll let you bend the rules this one time! Thanks! :D
-
7,237 Nethereal
Being able to set fixed physics ticks / sec would be a very nice addition. Having the ability to create x timers as needed with a very generic base object would be ideal (branching off with instructions/broadcasts where needed)
-
Dev Pedro
@AndrewGarrison should I make suggestion posts for all the things I suggested in comments in the past to have them listed?
-
-
Dev Pedro
@AndrewGarrison would it be possible to have a expression that returns year, day, hour, minute, second, total ms?
Total ms being the amount of ms since the start of the sandbox. -
Dev AndrewGarrison
@Nethereal I'll add some 'system' variables with the next update to Vizzy to make this a little easier. I was thinking a "timer" variable which tracks how long the script has been alive since start and also a "deltaTime" which tracks how much time has passed in the game since the last frame. Currently, Vizzy runs in Unity's Update method, so time between updates is variable, but maybe an option in the Flight Program's part properties settings to run Vizzy in FixedUpdate so there's a constant amount of time that passes between updates calls.
-
-
7,237 Nethereal
the physics tick rate is understood to be variable.
So it is very likely to change based on settings, as well as what is currently happening on screen -
235 bspawn
Tried it: PhysTicks/Sec 'jitters' and is rather different in different test runs. 1st it went from ~74 at low altitude to ~90 at a couple dozen km altitude. 2nd run it hovered just over 100 all the way, increasing slightly with increasing altitude. All with Vsync at 60fps. JItter is probably unavoidable, but it is generally inconsistent.
-
5,769 SelectAKey
damn. really?! this is going to help my study soooooooo much. thank you!
-
-
@Nethereal here