Help with orbital camera

Hello, I’m trying to make a camera that can only move side to side basically the orbital camera type, however, right now it doesn’t have the ability to zoom in and out and I want to be able to customize it more for example, adjust what angle the camera is at.

Orbital camera mode:

So I made a test script of where I want the camera to be, I made it so a block will move side to side around the player when I move the mouse and go zoom in and out when using the scroll wheel.

Orbital camera part:

Is there a way to customize the orbital camera instead of recreating it?
Also second question if the above was a no, I used GetMouseDelta to find which direction the mouse was going and that doesnt work if the camera type is in scriptable, is there another way to find this?

Ok thanks for reading

2 Likes

yeah so i figured how to recreate the orbital camera, thanks for the help guys.

2 Likes