- Home /
How to scale an object from center pivot in code
Im trying to scale objects from their "Center" in code - changing the pivot in a 3d application is not an option.
I've found PivotMode.Center in the docs but I have no idea how to use it - basically right now when I adjust transform.localscale it scales from the objects pivot, i would like it to scale from the object's center pivot
Any ideas?
Comment
Your answer
