From ebb77ef38663da9dc9b1d5dc0e76cd68aafc236b Mon Sep 17 00:00:00 2001 From: march3 Date: Thu, 20 Apr 2023 20:02:46 +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/science/free_fall_of_ball.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sim_scenes/science/free_fall_of_ball.py b/sim_scenes/science/free_fall_of_ball.py index ee731a8..d0d7a0b 100644 --- a/sim_scenes/science/free_fall_of_ball.py +++ b/sim_scenes/science/free_fall_of_ball.py @@ -18,7 +18,7 @@ if __name__ == '__main__': # 创建一个地球,位于中心位置,初始速度为 0 earth = Earth(init_position=[0, 0, 0], init_velocity=[0, 0, 0], size_scale=1, texture="earth_hd.jpg") - # earth.raduis = 6373.22 + # 地球的半径 = earth.raduis = 6373.22 # 创建的3个不同质量,不同高度的球,观察这3个球打到地球表面上的加速度 ball_1 = Football(mass=500, size_scale=2.65e2, trail_color=[255, 0, 0], # 球在地面上 518 多公里处 -- GitLab