How to Set Position Monster
Monster 1 = Red line
Monster 2 = Blue Line
I want the monsters walk to the location (Goal) and Go back to the start (with Teleport : delay 5 second)
Thank You
How to Set Position Monster
Monster 1 = Red line
Monster 2 = Blue Line
I want the monsters walk to the location (Goal) and Go back to the start (with Teleport : delay 5 second)
Thank You
You probably want to implement a waypoint system and plot waypoint along each path for each monster to follow; either as GameObjects that the Monster can them find, or as Vector3s stored directly in the Monster.
Either way the Monsters can then head to each waypoint in turn, progressing to the next upon reaching each one.
As for going back to the start, set the transform.position back to where they started and set the waypoint back to the first one.
Hope that helps.