Hello, I have created new scene where Area2D is root node. I have added a CollisionShape2D to it and saved as Ladder.tscn. Now I can drag and drop that scene to my Level01 scene and visually adjust Ladder.CollisionShape2D size via "editable children" feature. My problem is that when I drag and drop SECOND Ladder.tscn scene thenthat scene is not independend, so when I edit its CollisionShape2D size it will also change for the first Ladder I dropped. How I can make these scenes independend?
#How to make changes to instanced scenes children unique?
7 messages · Page 1 of 1 (latest)
checking Local to Scene on the resource might solve the issue, though it might only apply at runtime. if it doesn't work then the first solution that comes to mind right now is to give the ladder its own size parameter (something like @export var ladder_size := Vector2(16, 64)), and then modifying the collision shape in the _ready() function
unfortunately, that method won't let you see the collision shape changes in the editor, and you'd have to also also add your own rectangle draw method as a tool script.