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

Rotating hinge joint over 180° with angular limit

Discussion in 'Physics' started by Nijamyang, Mar 26, 2017.

  1. Nijamyang

    Nijamyang

    Joined:
    Aug 8, 2012
    Posts:
    34
    http://imgur.com/ZBD24rE


    When rotating a hinge joint with angle limits it will flip at 180° around the rotation anchor point. On the start object (pentagon) is a script attached.

    Update(){
    rigidbody.moveRotation(Time.time * 100);
    }

    Is there a solution to this problem?
    The the rotation of the start object switches from 180 to -180. It's maybe a direction for a solution
     
    Last edited: Mar 26, 2017