I need to check if ONLY ONE SIDE of a mesh touches any collider.
So, what would be faster?:
- A raycast with hitInfo, very short distance and layermask.
- A raycast without hitInfo and very short distance.
- A sphere trigger with OntriggerEnter with colliderInfo.
- A sphere collider with OnCollisionEnter without collisionInfo.
I read sphere triggers have very good performance…but are they faster than a simple raycast?