Hi all,
I’m trying to get OpenSteer working with openFrameworks. I gather there are a few people who have had success with this, but can’t find any code.
I have made a simple project that strips out all of the drawing/demo functionality and just includes the steering behaviors. However OpenSteer uses some pretty unintuitive abstract classes and I can’t seem to extend their SimpleVehicle class for use with oF.
I have changed the SimpleVehicle typedefs to get rid of the Annotation classes (that draw), but other than that all is as is.
// SimpleVehicle_1 adds concrete LocalSpace methods to AbstractVehicle
typedef LocalSpaceMixin<AbstractVehicle> SimpleVehicle_1;
// Remove the dependance on "Annotation.h"
// SimpleVehicle_2 adds concrete annotation methods to SimpleVehicle_1
//typedef AnnotationMixin<SimpleVehicle_1> SimpleVehicle_2;
// SimpleVehicle_3 adds concrete steering methods to SimpleVehicle_2
typedef SteerLibraryMixin<SimpleVehicle_1> SimpleVehicle_3;
It would be great if you could take a look at the code and point me in the right direction.
Thanks for your help,
Karl