I have a weapon selection UI and I want to have all the guns shown inside the boxes so the players know which gun they are picking.
I know that you need to use viewport frames but I have been struggling for days trying to figure out how to get them all to be positioned correctly.
How can I have all guns be rotated the same way and fit inside the boxes?
UI is something like this:
Place each weapon model inside their respective âViewportFrameâ and set their âOrigin Positionsâ to Vector3.new(0, 0, x)
, where x is some negative value between 0 and -10 (will differ depending on the weaponâs size).
If you need further assistance Iâd be willing to make the changes to a copy of the place file.
1 Like
Hey would you store âxâ in a module or would you mathematically get it by the size of the model?