![]() |
AireEngine
A 3D Open-World Game Engine
|
A particle in the world. It can be animated and has a fixed lifetime, after which it disappears. More...
#include <Particle.h>

Public Member Functions | |
| Particle (Model *m) | |
| Particle (Model *m, glm::vec3 position, glm::vec3 v, float l) | |
| void | setRigidbody (float radius) |
Public Attributes | |
| glm::vec3 | Velocity |
| Model * | model |
| glm::vec3 | position |
| float | Life |
| bool | isEmitted |
| Rigidbody * | rigidbody = nullptr |
A particle in the world. It can be animated and has a fixed lifetime, after which it disappears.