Update instructions for collision mask in Your first 2D game (#5485)

This commit is contained in:
sarahmccuan
2022-01-28 19:07:13 +01:00
committed by Hugo Locurcio
parent e6bf2b23c6
commit 56f0c1e0e1
2 changed files with 1 additions and 1 deletions
@@ -26,7 +26,7 @@ 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
``PhysicsBody2D`` section, click the ``Mask`` property and uncheck the first
:ref:`CollisionObject2D <class_CollisionObject2D>` section, click the ``Mask`` property and uncheck the first
box. This will ensure the mobs do not collide with each other.
.. image:: img/set_collision_mask.png
Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 11 KiB