benilla-re systems structs docs

PlaneEmitterSpawnParticle

function · models · primitive

Address
0x7b8890 · 817 bytes, up to 0x7b8bc0
Signature
void __thiscall (CParticleEmitter2 *this, void *particle, float dt, const NTempest::C44Matrix *matrix)
Meaning
Spawns a particle on a rectangle with a cone or radial velocity
Confidence
verified, proof one
Finding
models/emission#plane-spawn
Test
models::burst_velocity_difftest, models::emit_shape_plane_difftest

Finding: Plane spawn in models: emission

A plane particle starts at (S·length/2, S·width/2, 0), the x draw taken after the y draw. With a z source z its velocity is speed·normalize(p − (0, 0, z)); otherwise, with θ = S·vertical and φ = S·horizontal, it is speed·(cos φ·sin θ, sin φ·sin θ, cos θ).

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 7

Calls and jumps by a bare address, from tables/calls.tsv.