I am trying to set up formations for field and I have it mostly working, but there is a consistent issue I can't find the cause for.
I am trying to do this for a 2D game. I want the party to always follow behind the leader in a straight line. When characters spawn in, they always spawn in a little to the right instead of behind the player. The other party member then move into position at an angle. They don't straighten out until I begin to move the leader, but this happens every single time I load into a new room. I probably just didn't set it up correctly, but I haven't been able to find a fix.
Can you show the settings of your formation?
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
https://imgur.com/a/vN2CQbe
Each position is set up the same way as position 0
I guess you're using the 2D setup (horizontal plane, raycast), how are your combatant prefabs set up?
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Recorded a video of my prefab set up and included at the start an example of the issue I am having.
It should be used before spawning, otherwise spawn doesn't use it.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
I did have the formation set up before spawning, but I realized I didn't have the formation setting set up correctly in the node to make it work. Now my second party member doesnt spawn at an angle, but now whenever I stop moving, he makes a 180 degree turn from whatever direction I was facing and looks in the opposite direction.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
For the Move AI it is using, I recorded a video with all of my settings in it
https://youtu.be/_xjsEfT_zHU
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!