[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 osg/Group #include osg/Geode #include osg/Geometry #include osg/ShapeDrawable #include osg/MatrixTransform #include iostream #include osgViewer/Viewer #include Obstacle.h

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