benilla-re systems structs docs

s_particleGroundCallbackArg

global · models

Address
0xcf5750 · 4 bytes, up to 0xcf5753
Type
void *
Meaning
Holds the argument the particle ground callback receives
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.