Search Unity

[Unity 4.3] 2D mode not in XY plane - Is it possible?

Discussion in 'Editor & General Support' started by luispedrofonseca, Nov 12, 2013.

  1. luispedrofonseca

    luispedrofonseca

    Joined:
    Aug 29, 2012
    Posts:
    945
    My question is very simple - Can we use the new 2d mode in a plane other than XY (like XZ)?

    I'm asking this because you can't use navmeshes on the XY plane for example.
     
    Xofs likes this.
  2. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    It's x/y only.

    --Eric
     
  3. luispedrofonseca

    luispedrofonseca

    Joined:
    Aug 29, 2012
    Posts:
    945
    That's what I imagined, but it's a pity. Especially because you can't use navmeshes on the XY plane.
     
  4. Shinugami

    Shinugami

    Joined:
    Oct 17, 2012
    Posts:
    54
    Yep, they need to make it so that you can change the axis of the 2D view.
    From my experience with 2D.
    *Animations need to have position marked as local or world because sometimes the results are confusing. Sometimes it works on a local axis, other times it works on a world axis and I have no idea why.
    *Made part of a game using the 2D sprites and 2D physics to learn that all that 2D physics means nothing if I can't use Navmesh so I had to change the code back to 3D. Now I have a 2D button that moves the scene camera to an unhelpful angle HOWEVER if it was depth on a Y axis then I could use it.

    Ways to Improve Unity:

    1) Allow option to change 2D axis.
    2) Clearly mark local and world for transform.position in animation of 2D objects.
     
    Last edited: Dec 12, 2013
  5. EmeralLotus

    EmeralLotus

    Joined:
    Aug 10, 2012
    Posts:
    1,462
    Completely agree that unity 2D is very limiting because of XY only. Please allow us to use other axis.
     
  6. miniduck

    miniduck

    Joined:
    Sep 27, 2012
    Posts:
    117
    Bump

    Would be nice to be able to set this.
     
  7. nyonge

    nyonge

    Joined:
    Jul 11, 2013
    Posts:
    49
    This is a sadly old thread, but bump. This would be extremely useful.
     
  8. douglasg14b

    douglasg14b

    Joined:
    Oct 2, 2014
    Posts:
    34
    Same, the ability to use other axes would be very helpful...
     
  9. Gekigengar

    Gekigengar

    Joined:
    Jan 20, 2013
    Posts:
    738
  10. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    You don't need XZ axis for any of those game types. XY works fine. The only issue is the navmesh.

    --Eric
     
  11. Estecka

    Estecka

    Joined:
    Oct 11, 2013
    Posts:
    62
    We might not need them, but it might feel odd manipulating this in the editor:
    The camera in the scene editor will always behave like +Y is "Up"; but in a topdown game, +Y isn't going to be "Up", it's gonna be "North" or something like that.
    As a result, the left/right controls of the editor's camera makes it rotate around your game's "North" instead of your game's "Up". If you make the editor's camera look "West" or "East", you'll look at your game sideway; if you're looking "North" or "South" and try to l try looking to the side, you won't end up looking "East" or "West", you'll be still looking in the same direction, but sideway/upside-down.

    Unless it's possible to change which axis is considered "Up" by the editor's camera ?
     
  12. bsdzhu

    bsdzhu

    Joined:
    Jul 27, 2015
    Posts:
    6
    i am not sure if this can help you. but i will share it:

    In Scene view, click the green cone, you can get a perspective top view (the middle picture),
    continue to click on 'Top', you can get a 100% top view (the last picture).

    hope this can help you.

    my unity version: 2017.1.0f3
    upload_2018-9-20_21-4-52.png
     
    vodkins likes this.
  13. paul_meynckens

    paul_meynckens

    Joined:
    Nov 30, 2019
    Posts:
    4
    Using another 2d plane would be very usefull.
     
  14. clang2

    clang2

    Joined:
    Jan 27, 2018
    Posts:
    9
  15. vodkins

    vodkins

    Joined:
    Dec 16, 2021
    Posts:
    1
    Works perfect! Thank you so much!!!