private void Move(float deltaTime) { movingTime -= deltaTime; if (movingTime <= 0 || Vector3.Distance(this.transform.position, movingTo) < 0.2f) { creatureManager.FindNewMoveTo(this); return; } Vector3 moveVector = movingTo - this.transform.position; moveVector.Normalize(); this.transform.position += moveVector * (realVelocity * deltaTime); }