Works in orthographic, but not perspective camera. Casts a ray from a 3d position or bot in the gridPortal toward the camera. Uses where it intersects with the camera's plane to calculate where on (or off) the viewport the bot (or position) is.