Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How would I create a rotating 3D gui object?

This is one of those questions that I don't see asked a lot but I think makes the game a lot better for the end players and users. If we look at ER:LC, when we want to spawn a car we have a rotating view of the car. Or, when we are equipping that gun to murder someone, we get a 3D view. Im wondering how developers are able to do this.

2 answers

✓ Accepted answer

They do that with viewport frames. https://developer.roblox.com/articles/viewportframe-gui

They're not as intimidating as they look. It's kinda like another in game camera that shows all the models inside the gui's viewport frames. People spin them by changing the model inside the viewport frame's cframe or changing the camera angle. Article on camera manipulation - https://developer.roblox.com/en-us/articles/Camera-manipulation

2 comments

0

Thanks I started looking around and found viewport frames we answered at the same time ;)

0

That's okay. Glad you took the time out of your day to answer the question and look it up. It's always good to learn

This discussion is preserved as it was. New answers, comments, and votes are closed.