Search Unity

  1. Check out our Unite Austin 2017 YouTube playlist to catch up on what you missed. More videos coming soon.
    Dismiss Notice
  2. Unity 2017.2 is now released.
    Dismiss Notice
  3. The Unity Gear Store is here to help you look great at your next meetup, user group or conference. With all new Unity apparel, stickers and more!
    Dismiss Notice
  4. Introducing the Unity Essentials Packs! Find out more.
    Dismiss Notice
  5. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice
  6. Unity 2017.3 beta is now available for download.
    Dismiss Notice

Unity editor - 3D geometry intersecting gizmo axis

Discussion in 'Made With Unity' started by Quazistax, May 23, 2011.

  1. Quazistax

    Quazistax

    Joined:
    Sep 12, 2010
    Posts:
    11


    Experimenting with idea of adding simple 3d axis lines (intersecting with scene geometry, to better visualize object's whereabouts in scene) dynamically to origin of any GameObject currently selected. The way I imagine it, it will run automatically on Unity startup and work in the background, without need to have custom EditorWindow displayed or manually attach scripts to GameObjects. Only requirement would be to put plugin scripts or dll in Asset folder.

    For now, it works in sync with editor's Pivot/Center and Local/Global settings, positioning itself in same point as default gizmo.
     
  2. GisleAune

    GisleAune

    Joined:
    May 16, 2011
    Posts:
    88
    Is it pro only?
     
  3. Quazistax

    Quazistax

    Joined:
    Sep 12, 2010
    Posts:
    11
    No, I use a free version.
     
  4. hippocoder

    hippocoder

    Digital Ape Moderator

    Joined:
    Apr 11, 2010
    Posts:
    19,820
  5. Quazistax

    Quazistax

    Joined:
    Sep 12, 2010
    Posts:
    11
    Objects drawn with Gizmos.DrawSphere, Gizmos.DrawCube etc. will be drawn on top of everything, not intersecting with scene geometry. Intersecting is important, gives a feeling where something ends, how high/low it is etc. (that was the main motivation for me) Also, using OnDrawGizmos/OnDrawGizmosSelected requires to attach that script to every GameObject. My solution does not require that.
     
  6. deram_scholzara

    deram_scholzara

    Joined:
    Aug 26, 2005
    Posts:
    1,018
    Cool, I would totally use this =-)