Search Issue Tracker
Fixed in 5.0.X
Votes
1
Found in
5.0.0b20
Issue ID
665821
Regression
Yes
[FreezeRotation] Rigidbody.FreezeRotation works in local space instead of world space
How to reproduce in Unity 5:
1. Open the attached project
2. Open Demo scene
3. The cube in the scene is a rigidbody
-The rotation constrains for X and Z are checked, Y axis is left unchecked
-The cube should be able to rotate around the vertical axis only.
3. Run the scene.
4. Press and hold left mouse button while the cursor is over the cube. This applies a little force at the given position.
5. The cube should start to rotate.
6. Notice, that the axis, it rotates around, is its local Y-axis, not the world Y-axis
Captured reproduction of the bug: http://screencast.com/t/SVvKFFmw
According to the documentation : "Stops the Rigidbody rotating around the world X, Y and Z axes selectively."
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Toggling 'Editor Extension Authoring' doesn't dirty the UXML but its state depends on how it was previously saved
- Shader variants are stripped when they are not used during Player building
- Multiple exceptions are thrown after exiting Play mode when Layout Group component is displayed in Debug Inspector and Padding section is expanded
- ScrollView elements are not restored to their original positions after removing a Layout Group with Undo action
- "Assembly with name already exists" errors are thrown when two packages with different technical names resolve to the same namespace
Add comment