GetPointsAroundPointWorld returns null vectors for all but first point if destination is in an obstacle

Hi,

GetPointsAroundPoint and GetPointsAroundPointWorld works well until the destination point is in an obstacle. In this case the first point got back from these scripts is perfect, but the rest of them are either zero vectors (GetPointsAroundPointWorld) or the start positions (GetPointsAroundPoint).

Am I doing something wrong?
I’m using the pro version of 3.8.5.
Thanks!

It’s still an issue for me, is there any solution? Currently I’m checking for zero vectors and overriding them to the original destination but this kills the whole feature :frowning:

Thanks!

Hi

Sorry that I missed this thread the first time.
I do have a fix for that method, I thought it had made it to the beta, but it seems I did the fix in an experimental branch so it hasn’t even gotten that far.
Here is an updated version, you can try to replace the current method with it: http://pastebin.com/9t8zrDe2
Hopefully it should compile without any further changes and hopefully it doesn’t have any more bugs.