Unity Raycast doesn't detect one object of 24

I'm making a checkers game, where board is made of 64 squares and 24 checkers. To select checker I use rays, which work perfect BUT only this one red piece.

board

Whenever I click on it, ray detects only black square under it. If right during the runtime I disable and enable this checker's collider in editor, it suddenly starts working. I tried GetRayInstersection, Raycast, but nothing helps with just this one piece. All checkers are similar and created as prefabs.


Ответы (0 шт):