this above is my game. The dark blue box is a room where my player can move around. I want my room to shrink using a script. (vertically/horizontally or both at same time)
The problem is…
my room is made up of 4 sprites with box colliders attached:
I could try to rescale the parent (room) but then this happens…
The horizontal lines become squashed to the point they become invisible. I want it to retain it’s previous length.
if I select both vertical lines and shrink them. The thickness of each line is maintained. But the horizontal lines do not make contact with the vertical lines as I did not reposition it. Is there any way to get a script for the room to shrink vertically whilst letting the two horizontal lines reposition themselves automatically?