public override void step (float dt)
{
if( _firstTick ) {
_firstTick = false;
_elapsed = 0;
} else
_elapsed += dt;
update (Mathf.Max (0, // needed for rewind. elapsed could be negative
Mathf.Min (1, _elapsed /
Mathf.Max (_duration, FloatUtils.Epsilon) // division by 0
)
)
);
}
public override void startWithTarget (object aTarget)