Hello there! So currently I am away from my computer so I won’t be able to immediately test what you guys suggest but here’s my question…
So basically I’ve been learning about these “viewport” GUI frames and whatever, but the only thing so far I’ve learned is that the position of the camera is stuck to whatever you put it as in studio…
I wanna learn how you can hold down left click on the frame and you’ll be able to look around the model,like in phantom forces. Here’s a video for example:
Pretty sure Phantom Forces does not use ViewportFrames and has a literal model in the Workspace that gets rotated when you hold down the mouse, considering the game’s had that mechanic before ViewportFrames were introduced. Even then, the same logic is still applicable with one.
Look into UserInputService to determine when a user is passing input to the experience. You will probably be looking at the InputObject’s Position to determine the space in which the user moves their mouse. You then need to translate this into an angular movement. Keep in mind, while doing that, that an input’s position is in 2D coordinates while a camera or model operates in 3D coordinates.