|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
Per-App motion-trail simulation: records each TrailRenderer entity's world position over time into a point history that TrailPlugin renders as a ribbon. More...
#include "../core/Types.hpp"#include "../math/Math.hpp"#include "../ecs/Registry.hpp"#include "../ecs/components/Transform.hpp"#include "../ecs/components/TrailRenderer.hpp"#include <deque>#include <unordered_map>

Go to the source code of this file.
Classes | |
| struct | esengine::trail::TrailPoint |
| One recorded trail sample: a world position stamped with the sim clock. More... | |
| struct | esengine::trail::TrailState |
| Per-entity point history. Front = oldest (tail), back = newest (near head). More... | |
| class | esengine::trail::TrailSystem |
Namespaces | |
| namespace | esengine |
| namespace | esengine::trail |
Per-App motion-trail simulation: records each TrailRenderer entity's world position over time into a point history that TrailPlugin renders as a ribbon.
Runtime state lives HERE (keyed by entity), not on the component — same split as ParticleSystem, so the component stays pure config and scene serialization never sees the transient history. The render plugin reads this history; it never writes it (RC5).
Definition in file TrailSystem.hpp.