Search Issue Tracker

Won't Fix

Votes

6

Found in

5.0.0f3

Issue ID

675029

Regression

Yes

[HingeJoint] Limits snap incorrectly at +-180 when torque is applied

Physics

-

Steps to reproduce this issue:

1. Open the attached project
2. Open the scene
3. There are 4 rigidbodies (Cubes) in the scene with Hinge Joint component
4. Play the scene
5. Hold button 'x'
6. Torque is applied to objects
7. Rigidbodies snap weirdly around 180º when enough force or torque is applied to them

Comments (2)

  1. Lipoly

    Apr 06, 2015 23:53

    Correction to comment above:

    "In addition, I've seen that when you set the min/max limits TO THE SAME VALUE the joint does not react at all. Here is a project that reproduces both issues:"

  2. Lipoly

    Apr 06, 2015 23:48

    I've been able to reproduce this as well. In addition, I've seen that when you set the min/max limits the joint does not react at all. Here is a project that reproduces both issues:

    https://drive.google.com/file/d/0B98UyjAYy_z6TGxLeXF0cmlBTWs/view?usp=sharing

    Instructions:

    HingeJoint limits cannot be exactly the same or nothing happens:
    1. Open the attached project
    2. Open HingeJointScene with two cubes connected by a HingeJoint using limits.
    3. Select the "Cube_withHinge" object and use the "Limits" slider on the "Limits Slider" behaviour. This sets the min/max limit by default to the same values between 0 and 180.
    4. Notice that nothinig happens.
    5. Use the "Limit Differential" slider to something greater than zero. This will set min/max to "almost" the same value with a 0...1 difference.
    6. Notice that when using the "Limits" slider to joint now reacts to changes.

    Limits near 180 also causes irratic behaviour:
    1. Open same project/scene
    2. Select "Cube_withHinge" GameObject.
    3. Move "Limits Differential" slider on the "LimitsSlider" behaviour to somethinig other than zero.
    4. Move the "Limits" slider to 180.
    5. Notice that the joint snapped back to what appears to be zero.
    6. Move the slider down a bit from 180 (like 178).
    7. The joint behaves very erratically and the rigidbodies fly all around.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.