benilla-re systems structs docs

CGUnit_C::EmitWaterRipple

function · objectlayer · primitive

Address
0x5fa760 · 1282 bytes, up to 0x5fac61
Meaning
Leaves a ripple in shallow liquid, along the motion when moving, and schedules the next at +0xc78
Confidence
verified, proof one
Finding
objectlayer/unitbody#water-ripples-and-swimming
Test
objectlayer::b1_clamped_reach_difftest, objectlayer::b1_half_reach_difftest, objectlayer::b1_ground_height_gate_difftest, objectlayer::b1_speed_rate_recip_difftest, objectlayer::b1_volume_recip_difftest, objectlayer::b1_pitch_base_difftest, objectlayer::b1_pitch_jitter_difftest, objectlayer::b1_jitter_pc_difftest, objectlayer::b1_jitter_p1c_difftest, objectlayer::b1_height_blend_difftest, objectlayer::b1_material0_scale_difftest, objectlayer::b1_pan_angle_random_difftest, objectlayer::b1_pan_angle_directional_difftest, objectlayer::b1_dist_atten_difftest

Finding: Water ripples and swimming in objectlayer: unit body each frame

0x5fa760(kind) leaves a ripple where the unit stands in shallow water: deeper than the surface by less than twice the unit's height, or 1 yard. A moving unit's ripples point along its motion and come faster with speed; a still or turning one's are random and come every 400 to 450 ms.

The derivation is in the doc.

Callers 2

Callees 7

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