How to make a tekken style camera?

I’m currently working on a 2D fighting game and I wanted to try experimenting with doing a tekken camera approach where the camera I guess rotates around the players instead of being in one position all the time which is what you would see in like Street Fighter or Mortal Kombat.

I have an idea of what I could do which is to have an invisible part that stays in the middle of both players and it will will rotate with them when they move and the camera will follow that part, but not sure how to put that into code also not sure if it’s even a good idea haha.

Looking for help with this :slight_smile: