I am currently trying to create the basic foundation for a fighting game, and am stuck on how to keep the camera moving left and right to move with the characters as they move across the level while limiting their movement so they cannot go out of frame or off screen. I am essentially trying to figure out how to create a mid screen scenario like all fighting games have where even though neither player has reached a wall yet they can’t move further back until the other player gets closer.
You could create an Actor that has two invisible walls on either side (same distance form the centre point). Then all you have to do is keep it in front of the camera.
EDIT: You can also use “VInterp To” to adjust the camera position in a smooth way.