Hear me out. Not a good way to start a post, is it?
So we all know the character moves where the camera looks. But how?
Let me explain my observations.
Fresh world: Character movement direction follows camera.
My world: 2 clients, custom headless first-person, custom leaning.
HumanoidRootPart does not rotate.
!!NO it’s not just the LowerTorso!!
But jumping while moving realigns it
Idk. Is there a force at wich the HumanoidRootPart follows the camera? It is possible that the force of it is not big enough, due to… factors.
Well i think 2 different things are the problem.
You see, to create this “headless” camera we need a “fake head” to focus the camera on.
Red is the camera focus. Because otherwise it’s just an unconfortably close third person view.
Before this… it worked fine.
But to answear the question at hand. All of the scripts are in StarterCharacter and there are two parts to this.
“Headless” thing… local because obvious reasons.
But the “leaning” part is part local part script.
We need the client to give the camera’s LookVector. that’s all that is local.