Go to the source code of this file.
|
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...
|
|