25 #ifndef __I6ENGINE_API_MOVERCIRCLECOMPONENT_H__
26 #define __I6ENGINE_API_MOVERCIRCLECOMPONENT_H__
33 #include "boost/date_time/posix_time/posix_time.hpp"
34 #include "boost/thread/mutex.hpp"
67 void start(
Vec3 & startPos)
override;
81 void reset()
override;
83 std::vector<componentOptions> getComponentOptions()
override;
101 double _circleRadius;
110 void getNewPosition(
const uint64_t t,
Vec3 & newPos,
Quaternion & newRot)
override;
double getCircleRadius() const
This component let's the Object move through the world automatically on fixed paths Use addKeyFrame()...
Class describing a 3d rotation.
void setCircleParameters(const Vec3 &cC, const Vec3 &cA, const double &cR)
#define ISIXE_MODULES_API
Vec3 getCircleAxis() const
moves an object around a point in a circular way For creating a MoverCircleComponent, these keys are possible: Name Required Type Description Public pos yes Vec3 center of the circle yes axis yes Vec3 axis around which the mover should circle yes radius yes double radius of the circle yes realCenterPos no Vec3 the real start pos of the circle no
boost::shared_ptr< Message > Ptr
std::map< std::string, std::string > attributeMap
Implements 3-dimensional vectors.
void setPositioning(const Positioning posing)
std::string getTemplateName() const override
returns the name this template was registered with