i6engine  1.0
MoverComponent.h File Reference
#include "i6engine/math/i6eQuaternion.h"
#include "i6engine/math/i6eVector.h"
#include "i6engine/api/components/ShatterComponent.h"
#include "boost/thread/mutex.hpp"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  i6e::api::MoverComponent
 This component let's the Object move through the world automatically on fixed paths Use addKeyFrame() to add new keyframes (specific positions in the world) Than call start to start the moving. This component will move the object during each tick. You can control the behaviour by defining a mode, a way and the way of positioning. Consult the enum definitions for a detailed description This Component will soon be split into several subclasses for different Ways. For creating a MoverComponent, these keys are possible:

Name Required Type Description Public
duration yes uint64_t Duration of one movement cycle yes
positioning yes short Absolute or relative positioning yes
continue no "true" continues movement instead of starting no
startTime *) uint64_t *) required when continue set to synchronize time no
lastPos no Vec3 the last position of the circle no
linkable no bool should colliding objects (with correct flags) be linked to this mover and moved with it yes
started yes bool should this mover start directly yes
More...
 

Namespaces

 i6e
 
 i6e::api
 

Typedefs

typedef std::pair< Vec3, Quaternioni6e::api::keyFrame