Search Unity

  1. Unity 2018.3 is now released.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. Our response to Improbable’s blog post (and why you can keep working on your SpatialOS game). Read more here
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

Confused with ContactPoints

Discussion in 'Physics' started by MikeUpchat, Jan 9, 2019.

  1. MikeUpchat


    Sep 24, 2010
    In my OnCollisionEnter method I output all the contactpoints data. I was expecting to see contacts between just the object with the script attached and anything it hits, but instead I also get contacts between other object pairs. Also OnCollisionEnter is being called dozens of times in a frame. Is there a guide to explain the logic behind OnCollisionEnter and how the contactpoints relate to the game object the script is on? How do you go about finding the contacts that only relate to the object my script is on?