Normal path
Inversed path (what I want to achieve with a script)
I got a path, how can I inverse it so enemies can come from opposite site? Right now I am doing this manually and I already tried to write my own algorithm but I failed many times.
Normal path
Inversed path (what I want to achieve with a script)
I got a path, how can I inverse it so enemies can come from opposite site? Right now I am doing this manually and I already tried to write my own algorithm but I failed many times.
Just use the same code you did for the enemies, if you’re doing another one with the allies and change its functions to opposite.
It wont work, enemies will face wrong direction.
Did you try inversing their properties?

I don’t see any inverse properties.
if you have points in a table that you walk to, try iterating backwards thru the table instead of normally so the character moves the other way.
It won’t work either, it will only inverse positions and not orientation. Orientation is what I want to inverse.