Progress ratio never gets to exactly 0 or less than that

As the topic says, on my machine the the if check fails and none of the path enemies get freed.

One workaround to this would be to specify some value slightly larger than 0, maybe 0.01, but it would be great if there’s another solution that didn’t rely on magic numbers.

sorry, dont know how i managed to miss this question.

I had similar, but i found that i had, for some reason, looping enabled on the pathfollow2d.

so it never reached 0, it got close, then went up to the start again.

have a double check, just to see if you have the same as mine. if we ensure looping is disabled, it should go to 0

image

Privacy & Terms