Properly rotate Character+Camera+Controller
I'm trying to rotate my Player character in 3D space using Input keys (for Roll and Pitch). Camera Yaw and Pitch is controlled as known by the 3rdPerson Template using the mouse. What I'm trying to achieve is something similar to the movement of an astronaut in zero gravity.
The problem is, I can't get the Control Rotation to work - the yaw/pitch for looking up/down/left/right obviously has to follow the character rotation but it doesn't.
Currently, I'm adding a Local Rotation to the Character and Camera. The Control seems to be unaffected by the camera rotation - the mouse keeps rotating the view around WorldY and WorldZ instead of CharacterY and Z.
It feels like I haven't fully grasped the connection between Camera and Controller yet, maybe I'm doing something significantly wrong here?
Thank you, any help is highly appreciated!
So I probably had the wrong idea of how to do this. I thought it would be best to use what's already there: "Add Controller Input", but I couldn't figure out how to rotate the reference axis of the controller view along with the character. So I just added a relative rotation to the camera and it's all fine. Thanks for the input!
answered Aug 28 '18 at 04:30 PM
Camera has an option for Use Controller Rotation. maybe you need to switch that on or off to make it independent from te body.
answered Aug 26 '18 at 01:39 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here