A Brief Question Of Time
Posted: 06.11.2017, 11:51
Hi guys,
Anyone know if it's possible to interactively STOP time in Celestia?
Before everyone responds "use the SPACEBAR idiot!", I'm NOT talking about simply "pausing" simulation. I'm talking about setting the timescale to zero.
There's a subtle difference. One is simply pausing execution, whereas the other is setting the simulation timescale to zero whilst allowing execution (eg. of the script) to continue.
eg.
Here is Celestia running with the simulation time paused:
Here is Celestia with the time stopped:
This "Time Stopped" state is only achieved from within a script via the celx command: celestia:settimescale( 0 ), however as far as I can recall there's never been a keystroke assigned so that this can be done interactively. eg. The "\" key is equivalent to: celestia:settimescale( 1 )
It's quite possible to manipulate the timescale to almost any value interactively using combinations of the "\", "J", "K","L" keys (and caps-lock), but it appears the only way to set it to ZERO is via the celx command.
... As you can see, when running a script, it is possible to stop time within the script, and also pause execution with the spacebar, which makes clear the distinction between "Paused" and "Time Stopped" (timerate=0):
To summarize:
PIC 1: timescale= 1, simulation paused ... ("\", SPACEBAR)
PIC 2: timescale= 0, simulation running ... (script only)
PIC 3: timescale= 0, simulation paused ... (script + SPACEBAR)
Cheers
CC
EDIT. Corrected this thread to change all references to "celestia:timescale()" method (which I inadvertently referred to as "celestia:timerate()").
Anyone know if it's possible to interactively STOP time in Celestia?
Before everyone responds "use the SPACEBAR idiot!", I'm NOT talking about simply "pausing" simulation. I'm talking about setting the timescale to zero.
There's a subtle difference. One is simply pausing execution, whereas the other is setting the simulation timescale to zero whilst allowing execution (eg. of the script) to continue.
eg.
Here is Celestia running with the simulation time paused:
Here is Celestia with the time stopped:
This "Time Stopped" state is only achieved from within a script via the celx command: celestia:settimescale( 0 ), however as far as I can recall there's never been a keystroke assigned so that this can be done interactively. eg. The "\" key is equivalent to: celestia:settimescale( 1 )
It's quite possible to manipulate the timescale to almost any value interactively using combinations of the "\", "J", "K","L" keys (and caps-lock), but it appears the only way to set it to ZERO is via the celx command.
... As you can see, when running a script, it is possible to stop time within the script, and also pause execution with the spacebar, which makes clear the distinction between "Paused" and "Time Stopped" (timerate=0):
To summarize:
PIC 1: timescale= 1, simulation paused ... ("\", SPACEBAR)
PIC 2: timescale= 0, simulation running ... (script only)
PIC 3: timescale= 0, simulation paused ... (script + SPACEBAR)
Cheers
CC
EDIT. Corrected this thread to change all references to "celestia:timescale()" method (which I inadvertently referred to as "celestia:timerate()").