mirror of
https://github.com/godotengine/godot-docs.git
synced 2025-12-31 17:49:03 +03:00
Update instancing.rst (#7493)
Update physics material info on instancing page
This commit is contained in:
committed by
Max Hilbrunner
parent
2f311875e2
commit
4e28c62c6b
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 |
@@ -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
|
||||
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