I’m having an issue doing equations with coordinates. I’m trying to develop a radial menu and it’s not like UMG has a radial menu option, so I need to create radial nodes using equations.
My problem that I run into is with scaling, and not just with the Viewport Scale, but also the UMG Scale. I don’t know how to access these scale values, nor do I know exactly how many, if any scales are being used. I just know that my equations are not producing their desired result.
An example would be getting the center point of the screen, which normally would be Viewport / 2. That is not the center of the screen because the screen is scaled by DPI. Same issue with trying to center an image in the radial node, as the radial node is scaled by UMG? So I can’t just take image size / 2 to get the center point of the image.
Can someone explain to me what kind of scales are in use, and how I can access them so I can account for them in my equations?