add FloatBobStrength Actor property, a multiplier on Z offset created by FloatBob behavior. default of 1.0 is current behavior, set higher/lower for more/less extreme bobbing.

This commit is contained in:
jplebreton 2017-06-03 08:42:57 -07:00 committed by Christoph Oelckers
commit 2c7a0c87c8
5 changed files with 16 additions and 1 deletions

View file

@ -653,6 +653,15 @@ DEFINE_PROPERTY(floatbobphase, I, Actor)
defaults->FloatBobPhase = id;
}
//==========================================================================
//
//==========================================================================
DEFINE_PROPERTY(floatbobstrength, F, Actor)
{
PROP_DOUBLE_PARM(id, 0);
defaults->FloatBobStrength = id;
}
//==========================================================================
//
//==========================================================================