Skip to main content

Timeline for Multiple Colliders in Collision

Current License: CC BY-SA 3.0

7 events
when toggle format what by license comment
Jun 16, 2020 at 10:15 history edited CommunityBot
Commonmark migration
Jan 29, 2016 at 22:10 comment added Steven Srun For example, I have a front collider that extends out from the character and a collider on the right that doesn't extend as far. When the character collides with an object head on the OnCollisionEnter() method fires and says that both the Front collider and the Right collider have entered collision. If the object is directly to my right and I move in to it the OnCollisionEnter() method also fires and says the Front collider and Right collider have entered collision with the object. I'm not sure how to differentiate what situation caused the collision to occur.
Jan 29, 2016 at 22:10 comment added Steven Srun My colliders don't collide with each other. The problem is that I have multiple colliders colliding with a single object and I can't determine which collider made contact "first".
Jan 29, 2016 at 21:41 comment added Hamza Hasan Check edits ...
Jan 29, 2016 at 21:41 history edited Hamza Hasan CC BY-SA 3.0
added 583 characters in body
Jan 29, 2016 at 20:18 comment added Steven Srun I've have child objects for Front, Top, Bottom, Left and Right colliders. Each object has a box collider on it. The parent object has no colliders but a rigidbody. When OnCollisionEnter() is called, if I loop through the collision.contacts array I will see that sometimes the Front and Right/Left colliders are in contact. This is the problem as I don't know which one is first.
Jan 29, 2016 at 19:22 history answered Hamza Hasan CC BY-SA 3.0