followState
fn
float followState(ref float weight, bool target, float speed)Moves weight by ref toward the target state by speed and returns the updated value.
float followState(ref float weight, bool target, float speed)Moves weight by ref toward the target state by speed and returns the updated value.