Pause does not halt cargo unit physics
jelster opened this issue · comments
Josh Elster commented
When the togglePause
function is called, it transitions the Screen to the Paused state. It also calls cargo.physicsImpostor.sleep()/wakeUp(). Unfortunately, it appears that Ammo.js doesn't currently support the sleep and wakeUp functions :(
Until or if that is supported, there needs to be another way of pausing the in-flight route planning sim.
NOTE: this doesn't apply to ReadyToLaunchState, since physics aren't enabled during that phase
Josh Elster commented
While physics sleep would be great, the problem wasn't actually with that area.