Ignore particular objects when doing RayCast
Posted: Mon Feb 23, 2015 8:30 am
Hello,
how can I force the raycast alghoritm to ignore particular objects in world?
My scenario is: I have a ball which position is bound to camera position. Therefore, if I raycast exactly from camera position - it will hit the ball within the camera is.
how can I force the raycast alghoritm to ignore particular objects in world?
My scenario is: I have a ball which position is bound to camera position. Therefore, if I raycast exactly from camera position - it will hit the ball within the camera is.