1. Help us improve the editor usability and artist workflows. Join our discussion to provide your feedback.
    Dismiss Notice
  2. Unity 5.6 is now released.
    Dismiss Notice
  3. Check out all the fixes for 5.5 in patch releases 1 & 2.
    Dismiss Notice
  4. Get further faster with the Unity Plus Accelerator Pack, free for new Unity Plus subscribers for a limited time. Click here for more details.
    Dismiss Notice
  5. Learn how you'll soon be able to publish your games to China in four simple steps with Xiaomi. Sign up now for early access.
    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,710
  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,017
    Cool, I would totally use this =-)