limiting camera to [only] y axis with character all axis

Greetings.

My gameplay requires that the camera only move along the y axis (just as in the 2d plat former). However, I want my character to move along all axis (Just like in the 3d template).

I made a video to explainhttps://www.youtube.com/watch?v=22OR7SeeOxc

beautiful work in a lots of ways!

After seeing your video, I think I understand what you are aiming to achieve. You’d like the camera to stay constantly in the same plane, even when the character goes forward into an alley, for example

Having spent a lot of time (six months) working with my own third person camera… Id suggest that the standard sorting arm setup won’t quite suit your needs. A free camera that follows your characters movement in Y, would be easy to implement here. If you’d like a little lag to make it look nice and smooth, you could use finterp in the Y vector value.

exactly… this is VERY usual

the simplest way is to get your player character (which needn’t have a spring arm or camera at all) to spawn a camera actor at the desired location, and use Set View Target with Blend to nominate this as your active camera

Oh, sorry, you wrote the same. I should have read the answers before commenting =)

it’s totally fine, I wasn’t quite clear… by the way, your game is looking SENSATIONAL :smiley:

Can you detach the camera (make it a separate actor) from the character and just move it based on the character’s Y location?

Thank you for your replies, I am going to work at making the camera a separate actor.

Thank you for your replies, I am going to work at making the camera a separate actor.