How to make a minimap basing on a image?

Hello!
There is multiple ways of making a minimap, but I was wondering, how to make a minimap basing on a image?

I was thinking,on something like

CenterMap.Position - char.HumanoidRootPart.Position

And with that, well, attempt to resize the image according to the position, but, do you know a better method, or how to do it other way?
or how to do it?
Thanks!

1 Like

This should be a decent way of doing this. Convert the Z axis of the Vector3 to the Y axis of the UDim2 and leave the X axis the same. Also, ensure that you setup what each pixel is equal to as far as the world position a static amount of studs. If you plan to rotate the map, I would not recommend this as it becomes rather complicated.

1 Like