Quantcast
Channel: Answers by "lodendsg"
Viewing all articles
Browse latest Browse all 102

Answer by lodendsg

$
0
0
Check into this ([http://docs.unity3d.com/Documentation/ScriptReference/GeometryUtility.CalculateFrustumPlanes.html][1]) it calculates the planes of the camera's frustum being the limits of the cameras view. Might also have a look at this, ([http://docs.unity3d.com/Documentation/ScriptReference/Camera.ViewportToWorldPoint.html][2]) which could be used to simply find the points at the edge of the screen given a distance from the camera. [1]: http://docs.unity3d.com/Documentation/ScriptReference/GeometryUtility.CalculateFrustumPlanes.html [2]: http://docs.unity3d.com/Documentation/ScriptReference/Camera.ViewportToWorldPoint.html

Viewing all articles
Browse latest Browse all 102

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>