1. Help us improve the editor usability and artist workflows. Join our discussion to provide your feedback.
    Dismiss Notice
  2. We're looking for feedback on Unity Starter Kits! Let us know what you’d like.
    Dismiss Notice
  3. We’re giving 2017.1 beta testers a chance to win t-shirts and a Nintendo Switch. Read more on the blog.
    Dismiss Notice
  4. We want to know how you learned Unity! Help us by taking this quick survey and have a chance at a $25 gift card
    Dismiss Notice
  5. Unity 5.6 is now released.
    Dismiss Notice
  6. Check out all the fixes for 5.6 on the patch releases page.
    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:
    18,978
  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 =-)