Implementing automatic centering of viewport on player