2 ms·
For maximum Interstellar experience, type this in the console after the simulator loads: (function() { var clock = new THREE.Clock(); var interstella
by TeMPOraL 7y ago
For maximum Interstellar experience, type this in the console after the simulator loads:
(function() {
var clock = new THREE.Clock();
var interstellar = function() {
issObject.translateOnAxis(new THREE.Vector3(0, 0, 1), -20);
issObject.rotateY(-7.12094334814*clock.getDelta());
issObject.translateOnAxis(new THREE.Vector3(0, 0, 1), 20);
requestAnimationFrame(interstellar);
}
interstellar();
})()
(7.12094334814 is "68 RPM", if my math is correct.)
EDIT: Corrected rotation to spin around (roughly) the center of mass.
- fctorial 7y agoUse this, it'll orient the station correctly as well, and it should be possible to win this game as well, judging by a glance over the code. var clock = new THREE.Clock(); issObject.rotateX(3.14/2); var interstellar = function() { issObject.rotateZ(-7.12094334814*clock.getDelta()); requestAnimationFrame(interstellar); } interstellar(); The numbers on the screen are useless with this though.