|Topic was automatically imported from the old Question2Answer platform.
I’m trying to define a generic interaction shape in my 2D platformer. When the player moves through this area, I throw a popup.
I made a new scene with an Area2D and a CollisionShape2D under it. There is a script under the Area2D for the popup.
I now want to duplicate this code. Therefore I made this into a separate scene that I load whenever I need it (containing the area, collision and script).
Unfortunately even with editable children, I can only change the collision box for all the instances of the collisionbox. How can I define a different size collisionbox for each of these instances?
I can’t delete this question but it is a duplicate of Change collision shape from outside scene - Archive - Godot Forum
takje | 2020-11-21 18:37