Quantcast
Channel: UGUI & TextMesh Pro
Viewing all articles
Browse latest Browse all 23263

Physics2DRaycaster and camera

$
0
0
Hi guys,

I have a weird behavior with the Physics2DRaycaster attached to my main camera. My objects in the scene have a 2D collider attached and a script implementing IPointerClickHandler.

When the camera (ortographic, planes all correct so that the are fits in) is zoomed out (size 340 and a bit less) as in this first picture. The tavern (small building between trees on upper left) and whatever other building i decide to build in that upper part don't react to the raycaster and i always...

Physics2DRaycaster and camera

Viewing all articles
Browse latest Browse all 23263

Trending Articles