You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(Utilities): allow for trigger colliders to be ignored by casts
The various casts done by scripts such as Body Physics, teleporters
and the pointers were all colliding with trigger colliders by default.
The CustomRaycast script has now been updated so it can be called
and informed to ignore trigger colliders without providing an
instantiated CustomRaycast object.
Body Physics and the teleporters now ignore trigger colliders by
default, whereas the pointers still interact with trigger colliders
by default because the UI Canvas generates a trigger collider.
If the pointer is required to pass through a trigger collider then
the object should be put on the Ignore Raycasts layer.
0 commit comments