Search Issue Tracker

By Design

Votes

0

Found in

5.5.0p1

Issue ID

933204

Regression

Yes

Changing the center of mass makes the Rigidbody constraints fail to lock

Physics

-

Steps to reproduce:
1. Download and open the attached project
2. Enter Playmode

Expected result: falling cube stops
Actual result: constraints fail and cube does not stop

Reproduced on 5.5.0b9, 5.5.4f, 5.6.2p4, 2017.1.0f3, 2017.2.0b3, 2017.3.0a1
Not reproduced on 5.4.5p1

  1. Resolution Note:

    Rotational DoF lock is relative to mass-space (body's pose multiplied by TRS(center-of-mass, inertia rotation, one)). Setting center of mass will update inertia rotation too, and will make the DoF lock work relative to the new center of mass. Just visualise where the new CoM is and plot the axes of inertia tensor rotation.

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.