protected void SetPhysVars(Ninja plr) { //sanitize if (DI_reduce == 0) DI_reduce = 1;//avoid div/0 plr.SetPhysVars (tumble_ReboundThresh, tumble_RollThresh, tumble_bounceRatio, magnitude_scale, DI_scale, DI_reduce); }
protected void SetPhysVars(Ninja plr) { //sanitize if (DI_reduce == 0) DI_reduce = 1;//avoid div/0 plr.SetPhysVars (tumble_ReboundThresh, tumble_RollThresh, tumble_bounceRatio, magnitude_scale, DI_scale, DI_reduce); }