I have a camera that right now follows the character whever he moves but also looks in the direction of where im moving the mouse. Im struggling with making the character rotation independant of the camera.
I just want the camera to be floating overhead and the character to be able to move freely and rotate freely based on the mouse position.
this is my blueprint so far of basic player movement and look input:
If you are using a Spring Arm to connect the camera to the character, make sure you uncheck Inherit Pitch, Inherit Roll, Inherit Yaw in the properties of the Spring Arm.
Strange. How did you setup your character? The Spring Arm should not affect the movement of your character, only that of the camera which is parented to it.
character can move and look around however the camera still follows the location of the mouse, I just want the character to rotate to mouse position and the camera to follow the character in a fixed overhead position.
EDIT: I had to check âUse Pawn Control Rotationâ or the camera would do some weird rotation above the character
I donât think you need the LookPitch input and rotation. That doesnât belong to a top-down game and it is very likely causing you some issues. LookYaw is ok though, that is what makes your character turn in place. Since the SpringArm is not following the Yaw Rotation, the camera is not supposed to rotate with the character.
Iâm guessing that youâve already tried unticking the âInherit Yawâ parameter. If the spring arm component in your character has its rotation type set to âRelativeâ, try changing it to âWorldâ.
Yeah I tried that but I think Im realizing what I want to do with my camera is a bit different than OP. Basically I have a side scroller with a spline controlled character that moves on all axis. I want the camera to be at a location offset from the character like you would see in hollow knight etc but when the player changes rotation i want the camera to change rotation to adjust to where he is going BUT not to adjust rotation when he is going ââbackwardââ because then the camera is on the wrong side of my levelâŚ