Camera not on player head


I pasted my character into the game but the camera isn’t on the players head.
My viewport:

Inside my editor:

But does it work as intended? Objects can be hidden from the viewport if you configure them to be hidden. If there is a problem with the camera I need more details.

1 Like

I think its part of a different issue
Whenever I put my Capsule component to static, the camera is back where its supposed to be but I get this error:

“Mobility of /Game/StarterContent/Maps/UEDPIE_0_Minimal_Default.Minimal_Default:PersistentLevel.BP_Player_5 : CollisionCylinder has to be ‘Movable’ if you’d like to move.”

But I can’t move my character, but I can see my character move when I set is too “Movable” but then the camera isn’t on player head nor moving with the players movement.

What you can do at this point to debug the camera in-game is:

  • Add a tick method to print the following info:
  1. CameraComponent is valid.
  2. Camera view itself is correct.
  3. CameraComponent absolute location is correct and it (and its spring arm) move correctly, relative to the character.
  4. Spring arm length is correct.

Movement should definitely be movable on a character. That you can not move your character would be another problem if this happens in movable mobility mode.

1 Like

I think problem is that my camera is static

Is there a way to make it movable I dont see the option

camera component itself doesn’t have a mobility option but its parents do.

1 Like

Parent is capsule component and thats set to movable

OK, can you implement the tick function and check if any of the steps print odd information during gameplay?

It still gives this error even though its set to movable

“Mobility of /Game/StarterContent/Maps/UEDPIE_0_Minimal_Default.Minimal_Default:PersistentLevel.Player_2 : CollisionCylinder has to be ‘Movable’ if you’d like to move it with CharacterMovementComponent.”

Now I replaced the camera and arm with new ones which are movable but now the movement is all weird and shaky and I cant look up

Set all the components to movable on the character both in its Blueprint and on its editor instance if required.

1 Like

different problem, impossible to debug without seeing code and optionally a video

Nevermind forgot to check Use Pawn Control Rotation. Everything is working fine again.