Search Unity

Rotating hinge joint over 180° with angular limit

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

  1. Guliz

    Guliz

    Joined:
    Aug 8, 2012
    Posts:
    27
    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