Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: KevinDroll on August 01, 2019, 03:51:51 PM

Title: [SOLVED] Enemy not following Player after a while??
Post by: KevinDroll on August 01, 2019, 03:51:51 PM
Hello. I am new to playMaker, as I just bought it yesterday. I must say, that it really blew my mind! However, I was following a tutorial from a guy on youtube (https://www.youtube.com/watch?v=bOOgfjJlkgI (https://www.youtube.com/watch?v=bOOgfjJlkgI)), but I ran into an issue.

I followed it step by step, and made everything work. But it seems that the enemy A.I I made, only follows me in some time and just stops. I use the "Path Finding"- asset, I downloaded from EcoSystem.

My Player has the tag 'Player' and is called 'PlayerObj' within a GameObject variable inside playMaker.

I have uploaded images to this website (https://imgur.com/a/oFbLNKF). BTW: I just realized the images on it were linked wrong. I would've linked 'Raycast_If_I_Can_See_Player' to 'FINISHED' which is under 'MoveTowardsPlayer'. But it still doesn't work, unfortunately.

Thanks in advance!
Title: Re: Enemy not following Player after a while??
Post by: KevinDroll on August 02, 2019, 02:24:13 AM
I finally fixed it, I will try and close this thread.

I solved this, by increasing my Navigation Mesh Radius from 0.2 to around 0.8.
I think there might be a better solution for this. But for now, this solved my issue temporarily.
Title: Re: Enemy not following Player after a while??
Post by: daniellogin on August 02, 2019, 06:27:44 AM
I finally fixed it, I will try and close this thread.

You don't need to close the thread, just rename the topic so it says "[SOLVED]" on the end.

Also, in that regards, feel free to share some info on how you resolved your issue. It may help someone else who randomly searches for help on a similar issue in the future.
Title: Re: Enemy not following Player after a while??
Post by: KevinDroll on August 02, 2019, 12:01:40 PM
I finally fixed it, I will try and close this thread.

You don't need to close the thread, just rename the topic so it says "[SOLVED]" on the end.

Also, in that regards, feel free to share some info on how you resolved your issue. It may help someone else who randomly searches for help on a similar issue in the future.

I just updated my own reply.