protected override void PhysicsUpdate(float dt) { base.PhysicsUpdate(dt); // swarming while the game is paused is kinda cool // so we should allow it bool canMove = CanMove || PartyParrotManager.Instance.IsPaused; if (!canMove || BeeState.Follow != _state) { return; } Vector3 swarmPosition = _targetSwarm.Center.position; Vector3 targetPosition = swarmPosition + _swarmOffsetPosition; Movement2D.MoveTowards(targetPosition, BeeBehaviorData.SwarmSpeed, dt); }