Implement entity movement.