Attempted to implement a lookAt function