Search Issue Tracker
By Design
Votes
0
Found in
2020.2
2020.2.0b13
2021.1
2021.2
Issue ID
1312249
Regression
No
ArticulationBody.jointPosition is gaining values above 3.14 when using Revolute Joint
How to reproduce:
1. Open the attached project
2. Click Play
3. Select the Controller GameObject in the Scene Hierarchy
4. Press W or the Up Arrow
5. Observe the Joint Position variable in the Inspector
Expected result: The Joint Position will reset back to 0 after it reaches 3.14
Actual result: The Joint Position will reach values above 3.14
Reproducible with: 2020.2.3f1, 2021.1.0b5, 2021.2.0a4
Could not test with: 2018.4.30f1, 2019.4.19f1 (does not support Articulation bodies)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader warning in 'Hidden/Core/DebugOccluder' thrown after building High Definition 3D Sample Template
- Audio Mixer “+” buttons overlap with UI when the Audio Mixer window layout is set to Horizontal
- "Clear" button in the "Set project display name" closes all the pop-up instead of clearing just a name from the field
- Video Player renders no video on specific devices when using Vulkan
- The Editor slows itself down by showing tons of warnings when the majority of TransformAccessArrays content are NullRefs
Resolution Note:
If there should be clamping, it should be 2Pi instead of Pi. (since 2Pi is a full rotation and Pi is only half) Currently there's no clamping of the value though, because for the user it may prove useful to know the amount of revolutions that have occurred. If we were to clamp that value, we would be discarding information. And lastly, if the user wishes to have the joint Position be clamped to Pi or 2Pi, they can do it themselves