Generate Curve Path

Hi
I have a idea, can generate a curve path?
I wanted the monster to walk around the player like a circle while fighting.
The battle scene is a floor with obstacles and I use LayerGridGraph.

Hi

That requires a custom script. This might be a good inspiration: Circling a target - A* Pathfinding Project

Thank you!
Which version, I use 4.3.47, I never see this script

Hey there,

4.3.47 doesn’t seem to include the MoveInCirlce class. It’s available in versions past 4.3.84 it seems (or at least the presence of it in the documentation beginning there makes me believe that). Linked here.

That said, the MoveInCircle class is intended for use as an example of how to implement A* Pathfinding into a custom movement script, not as a robust end-game solution. That said, there’s still some merit to using it, such as for simple objects that may not need anything more complicated.