- Home /
collider ignore other collider at a small angle
Hello, collider can detect other collider if it will hit it perpendicularly. But if they are almost parallel, collider will skip it. Why?
beztytułu.png
(16.0 kB)
Comment
You should give some more data on what is happening exactly. This is very general and I do not have this problem. How can we reproduce the problem?
Answer by Nitiunity · Sep 26, 2018 at 07:18 AM
I use other way to check that collider touch other collider.
BoxCollider other = boxB.GetComponent<BoxCollider>();
BoxCollider current = boxA.GetComponent<BoxCollider>();
if (other.bounds.Intersects(current.bounds))
{
Debug.Log("Intersect");
}
Hope this will help you.
Your answer
Follow this Question
Related Questions
Detect 2 colliders by trigger 1 Answer
Collision flag entering a tagged object's collider 2 Answers
OnCollisionEnter2D is not detecting collisions. 2 Answers
Checking and destroying a rigidbody? 2 Answers
Unity2D side collision detection 1 Answer