public override void step(float dt) { _innerAction.step(dt); if (_innerAction.isDone()) { float diff = _innerAction.elapsed - _innerAction.duration; _innerAction.startWithTarget(_target); // to prevent jerk. issue #390, 1247 _innerAction.step(0.0f); _innerAction.step(diff); } }
public override void step(float dt) { _innerAction.step(dt * _speed); }