|
Public Member Functions |
| | Boid (irr::IrrlichtDevice *d, const irr::c8 *filePath) |
| | Boid (irr::IrrlichtDevice *d, Boid &other) |
|
| ~Boid () |
| | Destructor.
|
| void | update (irr::u32 deltaTime) |
| void | setScale (irr::f32 scale) |
| bool | inBoidNeighborhood (Boid *other, irr::f32 minDistance, irr::f32 maxDistance, irr::f32 cosMaxAngle) |
| void | addDebugText (irr::c8 *text, irr::s32 value) |
Public Attributes |
| irr::core::vector3df | position |
|
irr::core::vector3df | velocity |
| | Public accessible speed. All FlockAnimators alter this.
|
| irr::core::vector3df | speed |
|
irr::core::vector3df | forward |
| | Public accessible forward (synonym: orientation, lookAt, direction).
|
| irr::core::stringc | meshFilePath |
Holds a mesh and update its position according to last position and velocity.