Search Unity

  1. Unity 2018.1 has arrived! Read about it here
    Dismiss Notice
  2. Scriptable Render Pipeline improvements, Texture Mipmap Streaming, and more! Check out what we have in store for you in the 2018.2 Beta.
    Dismiss Notice
  3. If you couldn't join the live stream, take a peek at what you missed.
    Dismiss Notice
  4. Improve your Unity skills with a certified instructor in a private, interactive classroom. Learn more.
    Dismiss Notice
  5. ARCore is out of developer preview! Read about it here.
    Dismiss Notice
  6. Magic Leap’s Lumin SDK Technical Preview for Unity lets you get started creating content for Magic Leap One™. Find more information on our blog!
    Dismiss Notice
  7. Want to see the most recent patch releases? Take a peek at the patch release 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:
    22,084
  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,025
    Cool, I would totally use this =-)