How to make viewport frame loadout system?

Hello, I’m working on a roblox game and I want to make a loadout system like this which shows a viewportframe of the items they have.
Screenshot_2023-10-17_105642
Now, my idea was to just clone the handle of their weapon and then just display that in a viewport frame, but how can I get everything to fit? within the frame and be shown at the right angle? I have 0 experience with viewport frames

try make stringvalue with attribute “IsLoadedGun” and after it use it in code

Hey, this is a VERY helpful module, that does some calculations so your object always stays in the viewportframe (you can also add a spinning animation for the objects).

The other way around would be creating position and rotation values for the camera for every object which you want displayed. Yes, this is troublesome and testing all the positions manually will be annoying, but youll have more control over your viewports.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.