EmitterTraveledDistance
Emitter's property. Outputs the total cumulative distance the emitter has traveled since it started.
Each frame, the distance traveled since the previous frame is added to the running total. This value only increases and is never reset during the emitter's lifetime.
An attached emitter that starts "On terminate" counts from its activation, where its parent dies: the path the parent travelled while it was alive is not included (before #433 it was, on GPU33 and the CPU runtimes alike).
Useful for distance-based effects such as texture scrolling, distance-triggered events, or modulating particle properties based on how far the emitter has moved.
Output:
- Distance (float): Total distance traveled by the emitter in world units.