Hi,
I am using GeometryUtility.CalculateFrustumPlanes and GeometryUtility.TestPlanesAABB
to see if an object is seen by my camera or not. I also use Physics.Raycast
to make sure that nothing is covering the object.
However, I want to know what are the game objects that can be ‘seen’ from the camera without telling the camera what object it could be seeing.
In other words, when I use TestPlanesAABB
I do NOT want to test against a specific game object. I want it to be unknown and then when the camera ‘sees’ some object, I need to know what is this object.
Any help?!