Hello, sorry this is my first post on here so if there's a format I'm not following I apologize and will correct it.
I had a question about how to handle 3D strafing around a target, similar to Tekken or something like Soul Caliber.
The enemy is always locked on so it's not a worry about toggling lock on, and the camera will adjust to the movement to keep both characters in view so I'm not too worried about the camera either.
I got the forward and backward moving working but no matter what I try I can't seem to get the player to strafe around the enemy character in a circle when pressing the "up" or "down" input.
I'm using MoveAndSlide() and am just at a loss for how to properly set the velocity so that the character moves around the enemy in a circle while maintaining the original distance (so the radius) between them and the enemy.
Please let me know if you have any advice on how to do this. I would greatly appreciate the help.