Well, I\'m currently trying to move a list of points using its center as reference with a desired offset. But I\'m having problems.
I have implemented the current functi
You need to use scales instead of translating a flat amount for every pixel, or it gets distorted like that.
float avgMagnitude = points.Average(v => ((Vector2)v - pivot).magnitude); scale = (offset + avgMagnitude) / avgMagnitude;