Hello guys , i’m newbie here ,
i want to make a spilling , spawning effect , for a top down shooter game. There will be spawning holes in the scene. And from those whole , enemies will pop up but i want them firstly spill around the hole a little , then they will start the player following with help of pathfinding behaviour.
İ tried to make it by adding instant force at random angle with and without attached physics.Even tried with constant force.None of them work.Looks like path finding behavour overriding the added force.They just start running toward to player.Thats not i wanted.
İ want them to spill first , and then start the chasing.
İ also tried when generated an enemy , deactivating the behaviour , adding to force , activating the behaviour , but its happening in a manner of 1 fps , so again behaviour overrides the force before we can even notice the force.
Please help , i hope i expressed myself clear.
You need to deactivate the behavior and only reactivate it when… decide for yourself the condition, it can be a timer, a position, a distance…
Good luck
1 Like
Thank you.
I have done this behavour by deactivating pathfinding , then applying constant force a little , when they go far enough from the spawn point , ı stopped the enemies for deleting force and activated pathfinding again.
1 Like