Search Issue Tracker
By Design
Votes
0
Found in
2020.3
2021.1
2021.1.7f1
2021.2
Issue ID
1342373
Regression
No
Target Velocity calculated in script doesn't match with Target Velocity calculated in Articulation Body Component
Reproduction steps:
1. Open project "case_1342373-ConstantController.zip"
2. Open Scene "Demo"
3. Enter Play Mode
4. In the Hierarchy tab, select GameObject "upper_arm_link"
5. Observe Target Velocity in Articulation Body Component in selected GameObject
6. Observe Target Velocity in Console
Expected result: The velocity displayed in Console reaches 7.5
Actual result: The velocity displayed in Console doesn't reach 7.5
Reproducible with: 2020.3.12f1, 2021.1.11f1, 2021.2.0a21
Could not test with: 2018.4.36f1, 2019.4.28f1 (Doesn't have Articulation Body Component)
Notes:
- It says the Target Velocity has been reached in Articulation Body Component but is not shown in Console
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note:
The robot uses stiffness and damping to both reach the provided target and also the provided targetVelocity at the same time. Both of these affect the actual jointVelocity. To reach the targetVelocity exactly, you should set the stiffness to 0. That way your robot will be controlled by changing the targetVelocity and the target is ignored. Otherwise, if you want both the target velocity and target values to control the robot, just keep in mind that they both affect the end result of the joint.