Skip to main content

compute_margin

Function compute_margin 

Source
pub fn compute_margin(tick_count: i32) -> f64
Expand description

Vanilla ProjectileUtil.computeMargin: ramps the entity hit margin from 0 to 0.3 over the first ticks of flight.