Extracting Udim2 Coordinates of a 3D Object Displayed In ViewPortFrame

I’m currently working on a crate opening system for my game and am using a viewport frame to display the 3D objects of the items the player is unlocking.

I’d like to be able to get the Udim2 coordinates of these 3D objs in order to position some 2D UI elements displaying info about the item (its rarity and name in this instance), like shown here.

While the easiest solution would be to simply use pre-determined values to position these elements on the screen, I’d like to see if it’s possible to use some variation of WorldToViewportPoint to do this procedurally.

1 Like