Fix Camera to the actor
I'm working on a prototype for a side scrolling arcade shooter and need some help with the camera's viewing angle.
I have a pawn actor that moves over a circular track but i just cant seem to get the camera view adjusted right. I made a video to help better describe the situation.
The pawn components are as below.
Basically, i would like to have the camera view pointing towards the game arena at all times but as seen in the video, that's not happening.. Any suggestions/help to fix it would be really help a lot.!
asked Jan 27 '16 at 11:28 PM in Using UE4
Managed to figure it out..
While turning the pawn in the opp direction i was using 'set actor rotation'. This caused the entire actor (along with the attached SpringArm/camera) to rotate. Instead, i have now used 'set relative rotation' on the static mesh component and applied a 'set world rotation' on the SpringArm to get my desired output..
Now that its done, i realize the purpose for the different kinds of rotations out there.. :)
answered Feb 16 '16 at 11:33 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here