Quote:
Unfortunately JavaScript is not suitable instrument for smooth dynamic simulations. It generates only 4 fps, so you’ll see sequence of frames instead illusion of smooth movement.
Bad idea. Forget it.
I wouldn't forget it right away. Frame callbacks can be used for animations and are invoked on every game frame. Check
here for details.
Also, very quick and dirty (no cleanup at end, no nothing) example for showing how you can use this for moving the station. Put this function inside script.js in Config and see how the station smoothly slides away once you launch.
Code:
this.$fcb = addFrameCallback(function (delta)
{
system.mainStation.position = system.mainStation.position.add([0,0,100 * delta]);
});