From 63b6c9c3a822f7bac17d9dd5e2bc1e9bd3ef296a Mon Sep 17 00:00:00 2001 From: march3 Date: Tue, 26 Mar 2024 22:53:36 +0800 Subject: [PATCH] =?UTF-8?q?Python=E8=B6=85=E4=BA=BA-=E5=AE=87=E5=AE=99?= =?UTF-8?q?=E6=A8=A1=E6=8B=9F=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sim_scenes/featured/tri_bodies_01.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sim_scenes/featured/tri_bodies_01.py b/sim_scenes/featured/tri_bodies_01.py index 4d4ed0f..cf3b1f7 100644 --- a/sim_scenes/featured/tri_bodies_01.py +++ b/sim_scenes/featured/tri_bodies_01.py @@ -59,18 +59,18 @@ if __name__ == '__main__': print(total_days) if 100 < total_days < 3000: camera.position += camera.right * 0.1 - camera.position += camera.down * 0.01 + camera.position += camera.down * 0.02 elif 3200 < total_days < 3600: ec.target_z -= 7.5 elif 6000 < total_days < 7500: camera.position += camera.right * 1 - camera.position += camera.down * 0.5 + camera.position += camera.down * 0.6 elif 10800 < total_days < 12000: camera.position += camera.right * 1 # elif total_days > 10765: - elif 12800 < total_days < 16000: + elif 12300 < total_days < 14000: ec.target_z -= 5 - camera.position += camera.up * 0.3 + camera.position += camera.up * 0.4 elif total_days > 17000: UrsinaEvent.on_reset() # camera.position = UrsinaConfig.SCALE_FACTOR * np.array([10 * AU, -2 * AU, -20 * AU]), -- GitLab