- Home /
Question by
SharksInteractive · Mar 21, 2020 at 06:22 PM ·
colission
Make rigidboy ignore collider and not raycast.
Basically I need a collider that my player (A rigid body) will ignore, but not the raycast. I have seen Physics. Ignore, but I'm worried that doing that will make the raycast ignore it as well. Is there any way to do this? I'm thinking of using Physics.IgnoreLayerCollision on the rigidbody, but still don't know if this will affect raycasting.
Comment
Would the raycast still hit a trigger collider object though?