Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

2D < 3D (Computational Question)

Discussion in '2D' started by renman3000, May 27, 2014.

  1. renman3000

    renman3000

    Joined:
    Nov 7, 2011
    Posts:
    6,680
    I am building a game that is 2D, however, I have always used 3D colliders etc. What I am wondering is, can one assume a world with 2D colliders etc will be easier on the engine? Since an axis is removed?
     
  2. Kurius

    Kurius

    Joined:
    Sep 29, 2013
    Posts:
    412
    From what I've read on these forums, there is negligible difference in performance between 2D and 3D in Unity. I believe this is because the 2D environment is still running on top of a 3D engine.
     
  3. renman3000

    renman3000

    Joined:
    Nov 7, 2011
    Posts:
    6,680
    Right.
    Thanks.
     
  4. shaderop

    shaderop

    Joined:
    Nov 24, 2010
    Posts:
    942
    While the graphics pipeline for 2D and 3D might be essentially the same, physics is a different story since the 2D physics engine uses Box2D, which is optimized for 2D and 2D only. So I would be very surprised if 2D colliders didn't perform a lot better than their 3D counterparts.