Download

Camera Returns

What is the best method to return the world position of the left side camera viewport?

I apologize if this has already been covered elsewhere, but I had no luck finding the exact answer to my question.

Edit: If my ‘Ortho Width’ is 1600, does this mean 800 in each direction on the X from my center?

It depends on what you want to find out. The world position of your camera is a Vector, so anything from OrthoWidth - OrthoWidth/2 to 0.

Ideally I would like to use a perspective camera, but I need to know the width of the viewport.

I will test this out.

Alright, I figured it out. Just -> Get Viewport Size, then add or subtract the player position that the camera is tracking.