How to add Camera to Character?
I created a class deriving from ACharacter
But there's no camera: there's an ArrowComponent, a MovementComponent and a Mesh.
I needed a Camera so I added it through code
Now I have the Camera with a Spotlight attached to it
The problem is: I can't look up and down anymore!
The InputComponent is set like this:
I can't understand the problem...
Thanks in advance.
it will be better to create a spring arm component and attach camera to it and set its arm length to 0 if it is for a FP character and also (SpringArm->usePawnControlRotation)
Follow this question
Once you sign in you will be able to subscribe for any updates here