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.
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
- [iOS] Postprocessing errors appear when using RenderGraph and NativeRenderPass
- Can't add a Scene to a Baking Set when it has just been deleted from the Set
- [iOS 17] "Malformed URL" error is thrown when using UnityWebRequest with a URI containing "[]"
- [Android] Player crashes at launch with error when built with custom Editor build
- Memory Leak when using InstantiateAsnyc to instantiate a large Prefab
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.