Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Multiple Box Colliders vs 1 Mesh Collider

Discussion in 'Physics' started by LukasO, Jan 12, 2015.

  1. LukasO


    May 23, 2013
    Just wanted a clarification to do with different collision set ups.

    I've written a script that goes through a mesh collider and roughly converts a mesh collider into a series of box colliders. The bounds of these colliders are then use in a series of intersecting checks. Is this more efficient than ray casting fewer times against the mesh collider? An example is attached.


    Attached Files: