Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Selectable gizmos

Discussion in 'Scripting' started by dacloo, Oct 22, 2009.

  1. dacloo

    dacloo

    Joined:
    Jun 30, 2005
    Posts:
    469
    Hi,

    we have developed a road mesh / traffic generator that consists of nodes.
    The problem is that you cannot actually select a gizmo in editor mode and move its transform. Now we need to find the right node in the hierarchy which is not very intuitive at all.
    I cannot imagine this functionality hasn't been implemented yet since it's such a generic requirement. Can't find it in the docs though.

    1. Is this possible, and how?
    2. Is there a "editor on move transform" so that we can regenerate (a part of) the mesh instantly?

    Thanks!
     
  2. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,601
    1. gizmos are a consequence of selecting a GO, they don't exist on their own commonly ... but perhaps I'm missunderstanding?
    2. sounds like a job for on draw gizmo and call update with the new transform position.
     
  3. Lukas_GMC

    Lukas_GMC

    Joined:
    Aug 7, 2012
    Posts:
    40
    Sorry for reviving an old thread but I'm looking in to this. I have dynamic mesh and I'm trying to make control points in the editor using gizmos.
     
  4. TOES2

    TOES2

    Joined:
    May 20, 2013
    Posts:
    135
    1. wrong, look at the Unity camera gizmo, it can be selected without a body.