How to make the camera not rotate?
I'm making a top down game and I want the camera to not rotate at all when the player rotates. I know in unity you keep the camera separated and update the camera position in a script and I'm sure you can do that in UE4 as well, thing is this is gonna be a split-screen game and I don't know if UE4 allows split-screen if the camera is not in the blueprint.
I tried this code:
to see if I could cancel out the rotation but it still rotated (although it did rotate slower than the parent) I tried setting the relative rotation and the world rotation to zero and it didn't work, I tried setting the camera as the root component and it didn't work either.
I just want the camera to not rotate when my character rotates.
Any help will be appreciated, thanks.
P.S I'm using the A and D keys to rotate my character
asked Jun 02 '15 at 08:43 AM in C++ Programming
Follow this question
Once you sign in you will be able to subscribe for any updates here