Scaling from bottom

Hello,

I’m new to unity, but I’m very familar with design programms like Illustrator and Photoshop. Now I’m searching through unity and unitydocs and the internet to find a simple solution for scaling from bottom instead always from the center.

I have a predefined Gameobject, a 3D cube. I want to scale it from bottom (that means I want to keep the Y constistent while scaling). At the moment unity scales always from center and then I have to readjust the y. In Photshop you simply drag and drop a point and from that point is scaled relativly. I also cannot imagine another solution in unity but I simply cannot find that point.

I read solutions like make a new gameobject and apply script and then I just thought WTF this is a real showstopper, I cannot imagine to work like this while developing a whole map…

Please tell me there is an easy solution. How you guys do that? I mean I guess everybody needs a solution for this problem.

Thx

Use the RectTransform widget, works just like a Photoshop transform.

recttransform keeps my y not consistent, when i enlarge the height. pretty weird. why is that?

I found a solution:

I don’t understand why such an essential feature is not built in :expressionless:

1 Like