mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 18:29:11 +00:00
Update instancing.rst (#7493)
Update physics material info on instancing page
This commit is contained in:
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 |
@@ -121,12 +121,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
|
||||
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`.
|
||||
|
||||
.. 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
|
||||
more. As the Ball scene is a template for all instances, modifying it and saving
|
||||
|
||||
Reference in New Issue
Block a user