Search Issue Tracker
By Design
Votes
0
Found in
5.0.0f4
Issue ID
680396
Regression
Yes
Rotation Constraints constrain in Local Space rather than World Space
How to reproduce:
1. Open attached project
2. Open scene unity4TorqueTester.unity
- Scene contains 3 cubes:
- Cube 1 (NormalCube) is not rotated and has its rotation locked on the X and Z axes
- Cube 2 (TiltedCube) is rotated 45 degrees in the Z axis and all of its rotation constraints are turned off
- Cube 3 (YRotCube) is the same as TiltedCube, but it has the X and Z rotation constraints turned on
- All of the cubes also have a Constant Force component with Y Torque set to 3
3. Play the scene
- Note how NormalCube and TiltedCube rotate as they would in Unity4 but YRotCube does not. YRotCube appears to be rotating in Local Space
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Memory leak when a lot of UI elements are spawned and despawned
- Warnings are not logged in the Console window when using external code analyzers
- Errors “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 288“ appear constantly when Prefab is open
- Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
- “EndRenderPass: Not inside a Renderpass” and other Render Graph errors in the Player when Render Graph is enabled and Overlay UI is used
Add comment