Hallo, cyborgk@nocturnalnoize.com hat gesagt: // cyborgk@nocturnalnoize.com wrote:
First, is there an external to calculate distance between 3d points? Should I just create an abstraction? I'd assume a C coded external would be most efficient for processing...
[expr sqrt($f1*$f4 + $f2*$f5 + $f3*$f6)]
Send it a list with "x1 y1 z1 x2 y2 z2". It's very fast.
Second, and I guess this is a more math question than GEM questions, but I want objects to pick a random point in space, then fly to that point, but using a curved path rather than a straight line. What would be the simplest way to achieve this?
[spline_path 3] or similar can do this.
Finally, did anybody ever get flocking to work? I want to do flocking, but
Maybe check out the pso externals by Ben Bogart.
Frank Barknecht _ ______footils.org_ __goto10.org__