followState64

fndouble followState64(ref double weight, bool target, double speed)

Moves weight by ref toward the target state by speed and returns the updated value.