提交 74359545 编写于 作者: 三月三net's avatar 三月三net

Python超人-宇宙模拟器

上级 2b5c9c26
...@@ -10,9 +10,10 @@ from sim_scenes.func import ursina_run, create_solar_system_bodies, create_light ...@@ -10,9 +10,10 @@ from sim_scenes.func import ursina_run, create_solar_system_bodies, create_light
from common.consts import LIGHT_SPEED from common.consts import LIGHT_SPEED
from sim_scenes.solar_system.speed_of_light_init import SpeedOfLightInit from sim_scenes.solar_system.speed_of_light_init import SpeedOfLightInit
# TODO: 三种不同的摄像机视角
camera_follow_light = None # 摄像机固定,不会跟随光 camera_follow_light = None # 摄像机固定,不会跟随光
camera_follow_light = 'ForwardView' # 摄像机跟随光,方向是向前看 camera_follow_light = 'ForwardView' # 摄像机跟随光,方向是向前看
# camera_follow_light = 'SideView' # 摄像机跟随光,方向是侧面看 camera_follow_light = 'SideView' # 摄像机跟随光,方向是侧面看
# 实例化一个初始化对象(订阅事件,记录到达每个行星所需要的时间) # 实例化一个初始化对象(订阅事件,记录到达每个行星所需要的时间)
init = SpeedOfLightInit(camera_follow_light) init = SpeedOfLightInit(camera_follow_light)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册