Метод | Описание | |
---|---|---|
initialize ( |
||
update ( |
updates the particle. Returns true when the particle is no longer alive
|
Метод | Описание | |
---|---|---|
calculateCollisionResponseVelocity ( float friction, float elasticity, Vector2 &minimumTranslationVector ) : void |
given the relative velocity between the two objects and the MTV this method modifies the relativeVelocity to make it a collision response.
|
public initialize ( |
||
emitterConfig | ||
spawnPosition | Vector2 | |
Результат | void |
public update ( |
||
emitterConfig | Emitter config. | |
collisionConfig | ParticleCollisionConfig | |
rootPosition | Vector2 | |
Результат | bool |