Update instancing.rst (#7493)

Update physics material info on instancing page
This commit is contained in:
Piper Thunstrom
2023-06-18 19:06:02 -07:00
committed by Max Hilbrunner
parent 2f311875e2
commit 4e28c62c6b
5 changed files with 3 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 587 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@@ -117,12 +117,12 @@ There is more to instances. With this feature, you can:
Let's try this. Open ``Ball.tscn`` and select the Ball node. In the Inspector on Let's try this. Open ``Ball.tscn`` and select the Ball node. In the Inspector on
the right, click on the PhysicsMaterial property to expand it. the right, click on the PhysicsMaterial property to expand it.
.. image:: img/instancing_physics_material_expand.png .. image:: img/instancing_physics_material_expand.webp
Set its Bounce property to ``2`` by clicking on the number field, typing ``2``, Set its Bounce property to ``0.5`` by clicking on the number field, typing ``0.5``,
and pressing :kbd:`Enter`. and pressing :kbd:`Enter`.
.. image:: img/instancing_property_bounce_updated.png .. image:: img/instancing_property_bounce_updated.webp
Play the game by pressing :kbd:`F5` and notice how all balls now bounce a lot Play the game by pressing :kbd:`F5` and notice how all balls now bounce a lot
more. As the Ball scene is a template for all instances, modifying it and saving more. As the Ball scene is a template for all instances, modifying it and saving