Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

VR Runtime Tranform Gizmo

Discussion in 'VR' started by RicardoMatt, Jul 25, 2019.

  1. RicardoMatt

    RicardoMatt

    Joined:
    Jan 19, 2018
    Posts:
    3
    Hello

    I am trying to create a Gizmo in my game to rotate and position objects using local space. Effectively you will grab an arrow or torus and use this to rotate the gizmo. I am currently childing the gizmo axis to the controller and locking the controller axis that is being moved but this only works in world space and not local space. Does anyone have any ideas how I can achieve this? Or possibly a VR Asset that may already do this]

    Thanks in advance
    Matt
     
  2. schidamb

    schidamb

    Joined:
    Mar 8, 2019
    Posts:
    1
    I don't know about VR support for this but you can check out this unity asset "Runtime Transform Gizmos". This does exactly what you are looking for but currently does not support VR interaction. The author does provide provision to add your own VR controller script to work as input.