Browse Source

clarify wording

Co-Authored-By: Ershn <[email protected]>
Hana - Piralein 1 year ago
parent
commit
1d5fb5a274
1 changed files with 9 additions and 3 deletions
  1. 9 3
      getting_started/first_2d_game/04.creating_the_enemy.rst

+ 9 - 3
getting_started/first_2d_game/04.creating_the_enemy.rst

@@ -24,9 +24,15 @@ Click Scene -> New Scene from the top menu and add the following nodes:
 Don't forget to set the children so they can't be selected, like you did with
 Don't forget to set the children so they can't be selected, like you did with
 the Player scene.
 the Player scene.
 
 
-In the :ref:`RigidBody2D <class_RigidBody2D>` properties, set ``Gravity Scale``
-to ``0``, so the mob will not fall downward. In addition, under the
-:ref:`CollisionObject2D <class_CollisionObject2D>` section, uncheck the ``1`` inside the ``Mask`` property.
+Select the ``Mob`` node and set it's ``Gravity Scale``
+property in the :ref:`RigidBody2D <class_RigidBody2D>`
+section of the inspector to ``0``.
+This will prevent the mob from falling downwards.
+
+In addition, under the :ref:`CollisionObject2D <class_CollisionObject2D>`
+section just beneath the **RigidBody2D** section,
+expand the **Collision** group and
+uncheck the ``1`` inside the ``Mask`` property.
 This will ensure the mobs do not collide with each other.
 This will ensure the mobs do not collide with each other.
 
 
 .. image:: img/set_collision_mask.webp
 .. image:: img/set_collision_mask.webp