- Home /
TestPlanesAABB Does not work when looking up.
In the following simple setup, TestPlanesAABB claims the cube is visible when it is very clearly not.
Steps to recreate:
Camera at (0,0,0) pointing at (-50, 0, 0) (pointing at the sky).
Cube at (0,-2,0) with scale (1, 1, 10) (below the camera).
This example script from the unity documentation attached to the cube claims that the cube is visible, when it is very clearly not.
Playing around I notice some strange behaviors like when I change the FOV to be >61 it works, but <=61 it doesn't. It detects the cube at angles -50 and -60, but not at -40 or -70 for some reason.
Your answer
Follow this Question
Related Questions
How can I get the bounds in PolygonCollider2D? 0 Answers
Detecting object inside an area. 1 Answer
character switching on collision 1 Answer
How to use onmouseover with inputdown? 0 Answers