Search Unity

[answer] How to get editor physics visual gizmos handles for inspecting physic joints angular limit?

Discussion in 'Physics' started by AlanMattano, Oct 13, 2017.

  1. AlanMattano

    AlanMattano

    Joined:
    Aug 22, 2013
    Posts:
    1,501
    I'm using 2017.2 final and I'm not able to visualise this new gizmo visual tools for Joints and inspect the angular limits.


    How can I get this visual physic gizmo? I'm using 2017.2 final and I'm selecting the GameObject containing a configurable joint component. All my gizmos are enabled in the editor window. And pressing the "Edite Joint Angular Limites" button but nothing is happening.

    Is there sam visual documentation or video?

    Answer: As Erendil mention, You need to go to the Joint component in the inspector and press the "Edit Angular Limites"(the first button on top). Then go down and enable Use Limites. In the Limits section ad, a starting Min and Max value. And on the "Configurable Joint" you need to set the "Angular X Motion" to "Limited" and the gizmo will show up.
     
    Last edited: Jun 7, 2021
    jterry likes this.
  2. Maxens_Dubois

    Maxens_Dubois

    Joined:
    Jul 8, 2013
    Posts:
    1
    I don't know for the docs, but if you select "Limited" in the motions menus, the tool became usable. By default, movement is free so there're no limits to set.

    Works the same way for the hinge joints.
     
    Durss and AlanMattano like this.
  3. AlanMattano

    AlanMattano

    Joined:
    Aug 22, 2013
    Posts:
    1,501
    Hoo... You are very welcome to this forum!! For your first post not bad! @Erendil thank you so much.
     
  4. marcospgp

    marcospgp

    Joined:
    Jun 11, 2018
    Posts:
    194
    For those who didn't see the edit: You need to check the "Use Limits" checkbox in the hinge component
     
    a_karpins, MoMonay and AlanMattano like this.
  5. AlanMattano

    AlanMattano

    Joined:
    Aug 22, 2013
    Posts:
    1,501
    And on the "Configurable Joint" you need to set the "Angular X Motion" to "Limited"
     
    ethanicus likes this.