[osg-users] Flocking

2011-01-21 Thread john song
i am suppose to implement flocking but im not sure how can anyone help?? Puck. h: #ifndef PUCK_H #define PUCK_H #include #include #include #include #include #include #include #include "Obstacle.h" using namespace osg; using namespace osgViewer; using namespace std; class Puck { publi

Re: [osg-users] Flocking

2011-01-21 Thread Jason Daly
On 01/21/2011 11:31 AM, john song wrote: i am suppose to implement flocking but im not sure how can anyone help?? I don't have time to debug your code for you, but this site is an excellent reference for steering behaviors like flocking: http://www.red3d.com/cwr/steer/ They also have a lib