Circling around an object

I need an object to circle around another object, it doesn’t need to be a perfect circle.

Im using AStar pathfinding and Behavior designer.
The attacking ship needs to rotate around the target ship at a distance.

How do i achieve a circular motion/pathfinding ?

Scene view


Pathfinding itself will not help you that much since pathfinding is used to find the shortest path to the target.
What you can do is to move the target of your ship in a circular motion around the enemy ship so that it is a small distance ahead of your ship. Then your ship will follow the target (using pathfinding) and thus move in a circle.