Block Raycast

I want to block Ray-cast through tag (note: not to stop ray-casting) . Any Suggestions would be appreciated…!!

Hi @usama.jalal01,

You can easily do that using a filtered raycastAll, check this example:

https://developer.playcanvas.com/en/tutorials/physics-raycasting-by-tag/

1 Like

thank you @Leonidas