4
#include <srCore/export.h>
5
#include <srCore/body/bodyBase.h>
6
#include <srCore/robot/robotActorBase.h>
11
* Body Type Enumeration
29
//! Body Factory Class
30
class BodyFactory // : public myFactory
36
/*! @param type type of the body
37
* @param id a 16bit id, used to set the colliding bit parameter.
38
* @param x, y, z the position of the hinge in the world coordinate system.
39
* @param heading, pitch, roll the orientation of the axis of the hinge in the world coordinate system.
40
* @param Scene the scene in which the body should be placed.
41
* @param osgGroup using this group, another scene will be created that will be used by sensors
44
static dtCore::RefPtr<BodyBase> createBody(bodytype type, RobotActorBase* robot,
45
float x, float y, float z,
46
float heading, float pitch, float roll);
50
#endif /*BODYFACTORY_H_*/