![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | alexch2441 |
Hello:
I am a total beginner here and just start coding on Godot.
I was following “Instancing” under “step by step” on Gogotenging’s online document. I downloaded the project and tried to follow the instruction. I added several instances of balls by ‘duplicating’. Then I followed the instruction to edit the instance (see here)
https://docs.godotengine.org/en/stable/getting_started/step_by_step/instancing.html#editing-instances
I can change the colors on different balls, but however, when I tried to change different balls with different bouncing rates, I cannot make it happen. Strangely, I can only change the bounce rate on one instance (ball #5), but not on others. No matter how I change just one other ball, all others’ bounce rate change (coupled together). I have no idea how I changed ball #5, from the code I also cannot see the difference. I didn’t change any code at all, I just link the main scene to the ball scene. (I learned godot coding from other instructions.)
This instruction says “Notice that a grey “revert” button appears next to the adjusted property. When this button is present, it means you modified a property in the instanced scene to override its value in the saved scene. Even if that property is modified in the original scene, the custom value will remain. Pressing the revert button will restore the property to the value in the saved scene.”
But I tried to do override on any one (except #5), they still change in union. If anyone can tell me what’s wrong, it will be very much appreciated. Thank you.
Alex.
My zipped project is provided on this link:
https://drive.google.com/file/d/1cH2w6v-_N96HDeMcalHOAxk5EHMnuEMS/view?usp=sharing