Search Issue Tracker
By Design
Votes
2
Found in
5.0.0p2
Issue ID
682935
Regression
No
Setting ConfigurableJointMotion angular motion to locked causes target object to reset its rotation to Quaternion.Identity
To reproduce:
1.Open attached "JointReset.zip" project.
2.Open and play "LockTest" scene, notice 2 cubes joined my configurable joint motion.
3.After a small time delay script "Delayed Lock" will set Angular X motion to locked, when it does it, our target object will return to original position.
4.It should stay locked in its current position.
Comments (1)
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
- Timeline section stops rendering after restoring Profiler Window modules
- Cursor image does not update when Cursor.SetCursor is called again with CursorMode.Auto
- Crash on do_runtime_invoke when reopening a specific project after failing to build it
- Animations change speed when rigidbody is added
- Low FPS persists when re-entering Play mode after an extended session in a specific project
jkraptor
Oct 29, 2015 17:08
I agree with this. Locking a rotational axis should lock the joint at the current position, not reset to it's original position.
As a work around, try setting the mode to "Limited" and using the Low and High angular limits. This seems to lock the joint in place at the desired angle.