So basically my shooting works with raycast and i recently put in some triggers to make doors open and other things however now i am unable to shoot through these triggers, i’m pretty sure this is due to the raycasts hitting the triggers rather than what’s behind them.
1 Answer
1Either use layers or you might simply want to go to:
Edit → Project Settings → Physics → Raycasts Hit Trigger
And set that to false.
Actually in version 5.2.0f3 it no longer says Raycasts... It now appears as: "Queries Hit Triggers" Uncheck if you want raycasts to pass through trigger colliders.
– SpaceManDan