I’m trying to make a first person system. Basically, to achieve vertical movement of the camera, I use the player’s MouseDelta to change a custom character’s Motor6D offsets. The Motor6D is a joint between the Torso and the Head. (Basically whenever I change the Motor6D.C0, the head tilts.) And I do all of this via a Localscript.
But then, this happens: (In reality the camera is VERY jittery, but due to the FPS this video was recorded at, it only captured a tiny fraction of the jitters.)
The camera becomes jittery.
I am almost sure that this happens because:
By default, any CHARACTER part you move via a Localscript, the movement replicates to the server. So, since I move the Head via a Localscript, the movement replicates to the server. But of course, the server and the internet have some delay, so there’s a delay between those two position changes happening on the Client and the Server.
That’s the source of the camera jitteriness (i think).
So, my question is:
Is there a way to stop the movement of the head from replicating to the server?
I’ve tried messing around with Network Ownership, but I got no success. I’m still new to it.
Any help would be appreciated, thanks.