瀏覽代碼

Merge pull request #8497 from theDrake/patch-3

"as long" -> "as long as" in 03.player_movement_code.rst
Max Hilbrunner 2 年之前
父節點
當前提交
bd122b1992
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      getting_started/first_3d_game/03.player_movement_code.rst

+ 1 - 1
getting_started/first_3d_game/03.player_movement_code.rst

@@ -225,7 +225,7 @@ we apply gravity to the ``Player`` only while it is in the air.
 
 
 For the vertical velocity, we subtract the fall acceleration multiplied by the
 For the vertical velocity, we subtract the fall acceleration multiplied by the
 delta time every frame.
 delta time every frame.
-This line of code will cause our character to fall in every frame, as long it is not on or collides with the floor.
+This line of code will cause our character to fall in every frame, as long as it is not on or colliding with the floor.
 
 
 The physics engine can only detect interactions with walls, the floor, or other
 The physics engine can only detect interactions with walls, the floor, or other
 bodies during a given frame if movement and collisions happen. We will use this
 bodies during a given frame if movement and collisions happen. We will use this