0 votes

I have a custom node called CameraRect composed of an Area2D with a CollisionShape2D child. When the player enters these areas, the limits of my camera change.

The problem is that when I'm doing level design and want to change the size of one of these CameraRects, I toggle Make Local and Editable Children, but nonetheless changing the CollisionShape2D of one CameraRect affects all the others in my scene.

How can I get around this?

i would rather not use scale since it's much easier to be precise changing the collision shape directly.

asked Apr 1, 2019 in Engine by Diet Estus (1,496 points)

1 Answer

0 votes

You can make sub-resources, like shapes, unique via code

duplicate( bool subresources=true ) 

and with the GUIRight click "Shape" in the inspector

answered Apr 1, 2019 by flurick (886 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.