Does the Get Random Point in Radius node really work?
Can anyone confirm that this node actually works? I connect the origin vector and the radius float, doesn't seem to work for me. Really lost here since the documentation doesn't really help much. Thanks in advance.
After searching the internet I actually found exactly what I needed, here: http://www.mathworks.co.uk/matlabcentral/answers/72915-creating-random-points-in-a-circle . I suppose the RandomPointInRadius node actually has more to do with pathfinding and stuff, rather than what it actually sounds like. So far I can only "suppose" because of the lack of info I can get about nodes in the documentation.
In the link I've found, there's this formula: t = 2*pi*rand(n,1); r = R*sqrt(rand(n,1)); x = x0 + r.*cos(t); y = y0 + r.*sin(t);
With this formula blueprinted, there is a uniform amount of points spawned inside the circle, and everything works just as I needed. Thanks elindell and Shoiko for trying to help, too!
answered Jun 27 '14 at 06:07 PM
Can you post your BP? I'm using it several places and it seems to work well.
answered Jun 25 '14 at 10:03 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here