Is it possible, in the editor, to make a resizable wall object that has a coloured and editable fill colour, and physics body, both of which scale accurately with any editor resizing of the wall occurs?
If so, how?
In the Editor:
I have:
StaticBody2D
Child = Sprite
Child = CollisionShape2D - a rectangle
I can scale the Sprite, this works in the Editor, as the CollisionShape2D scales with the Sprite. But GODOT doesn't like it because the CollisionShape2D is supposed to be a child of the StaticBody2D, not a child of the Sprite.
So how am I supposed to build a wall component that I can visually scale/distort the shape of in the editor, and have that change the shape of the physic object of this wall component, too?