Hello!
https://gyazo.com/c4b20162450765462fc7e13ba8acdb95
I was wondering how can I make something like this?
Should I use like, the center of the screen, and using math.clamp() to set the limit and the minimium?
Is it more complicated than it looks like?
2 Likes
Shouldn’t be too difficult. Just take the mouse’s x and y positions, set limits for it/modify it by some function (it can be as simple as doing *multiplier) and add it to the camera’s CFrame’s base rotational value.
1 Like
Yes, but how do I set limits
EDIT: I saw multiplier, but how?
1 Like
I’m not sure how to use .clamp()
, but I don’t actually think you’ll need to set limits. Just multiply your x and y values of the mouse by a small number, so you’re not rotating your camera by hundreds of degrees/radians.
1 Like