How to make my camera follow the player vertically but not horizontally?

What have you tried so far?

I’d separate the camera from your player so they’re two separate actors. Then on Tick for the camera actor, get the World Z of your player and set your Camera actor’s World Location to 0,0, PlayerWorldZ.


iTween : Free, smooth, procedural object animation
easyCSV : Read data from any CSV and put them in an easy-to-access string map!
Runtime DataTable : Import and export game data to and from CSV or Google Sheets while your game is running!