Hi im new to UE4 and just trying to learn. I currently am testing a endless falling level and i want the camera to be locked on the player whilst falling but i dont want the camera to move left and right when my player does. Can anyone point me in the right direction ? Thanks !
Lock the camera movement based on your horizontal axis.
Im trying to do that but im a little stuck trying to figure out what this is Screenshot - c0e6c8c9b30a26d0334a7ccf2b698bcc - Gyazo
Break vector and Camera height feed into it and then it gets fed to Make Vector. No idea what code this is tho.
How exactly would you do that ? i have tried so many different things but i cant seem to figure it out.
If the camera is on a SpringArm, then you can change the settings for the spring arm to follow certain rotation axes and ignore others, I think. I believe that’s where there are checkboxes in the details pane which tell it to “use” or “inherit” the player rotation, something to that effect. You can turn one of those off and it will still follow the player, just not turn when they turn.
What worked for me is using Detach from Component on camera