benilla-re systems structs docs

s_particleGroundCallback

global · models

Address
0xcf5758 · 4 bytes, up to 0xcf575b
Type
void *
Meaning
Holds the ground height callback the particle snap calls, the world's ground probe
Confidence
verified, proof one
Finding
models/emission#spawn-space

Finding: Spawn space in models: emission

Without flag 0x100 the new position goes through the emitter matrix and the velocity through it as a direction, so the particle lives in world space. With flag 0x20000 it then asks the scene's ground callback for the height below it and, when answered, sits at that height plus its current size. With flag 0x100 both stay in the emitter's space. Last, with flag 0x400, the emitter's velocity times 1 + S·variation adds to the particle's velocity.

The derivation is in the doc.