Is there any way to transition from third person to sidescroller?

Hello! My problem seems really simple, and yet I can’t figure out how to accomplish this!

The red star is my enemy, with the circle being his territory, If the green star enters the large red circle, a variable “Battle” is set to true. The green star is the player who can move forward and back and turn left and right, he is followed by the camera (blue) which is controlled by a standard smooth follow script when battle = false.

Upon the battle variable going true, the camera focuses on a dummy object childed to the enemy, which stays exactly halfway between the enemy and player. this is where i run into my issue. The two characters can now only jump and move towards or away from each other, essentially transitioning from a 3rd person rpg to a street fighter style combat system. I want the camera to remain normal to the vector between the two characters, and on the same side. But it seems to not stay normal, and when the characters turn around, the camera changes the side of the battle it’s on. Also, the left and right buttons don’t work the way I’d like. When you press right you want your character to go right, and left when you press left, but the right button always move the player closer to the enemy, and the left button away from him. Sorry for the long question, I can provide my code if you like, Thank you in advance!

Upon the battle variable going true, the camera focuses on a dummy object childed to the enemy, which stays exactly halfway between the enemy and player. this is where i run into my issue.

Don’t child it to the enemy. Just set its world position to a point between the enemy and player in Update. Have it look at the enemy, then have another dummy object a child of that, at 90º (on its +x local axis) . Adjust the local position of dummy 2 relative the distance from the player to the enemy. You can have the camera rig move from its original position to dummy2’s position with SmoothToward so you get a visual swoop-down transition.