#Orbital Camera System
1 messages · Page 1 of 1 (latest)
how would I go about making an orbital camera system? a nice example is how the roblox camera works
my current setup:
cam is a part offsetted behind the player, which a cinemachine camera follows and looks at the player
how would I calculate where to move the camera part when I drag my right mouse button across?
like, i would like the cam object to move around the player with an offset
orbit camera is very easy
just offset the camera from a pivot parent object and rotate the pivot
oh ye. i figured that out and was doing that
although, how would I detect right mouse click drag? i only found void mousedrag which only detects ui objects and colliders?
just use the mouse delta during the frames where the button is held down