-
What do I want to achieve?
I want a camera to be stuck onto the head (so moving with it), but not rotate like the head.
. -
What is the issue?
Well, I want the camera to be stuck onto the head, not moving with the head, but with the character moving with the camera, and I have no idea how to do that.
. -
What solutions have I tried so far?
If I try to set the Camera’s Subject to the head, then the character doesn’t move with the camera, but when I try to use CFrame, (any method) the camera goes absolutely crazy. If anybody knows how to set the CFrame’s position only, that might be useful too, maybe.
Why don’t use the first person camera mode ?
I’ve never heard of that, but will the camera hang behind the head?
Be sure to set the camera type to Enum.Scriptable before setting the CFrame. After you do that, it should work.
It will be directly in the middle of the head, if you want to add an Offset, there’s a property to the Humanoid
Called CameraOffset
Which is basically a Positional Vector3 that adds to the camera’s current position, so what you can do is change the CameraMode
property inside of starterPlayer to LockedFirstPerson
, then you can change the cameraOffset via a script or add a humanoid to StarterPlayer
and name it StarterHumanoid, then you can change its CameraOffset property from there.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.