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
- [Android][iOS][UnityPlayerActivity] Legacy InputField.onEndEdit is not called when ending text edit
- Transform corruption and/or crash on PhysX::CreateCharacterController when spawning physics objects into Prefab stages
- UNITY_EDITOR data is Serialized into AssetBundle when building on the active Build Target
- "TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations..." error when changing the Packages "Cache Location" folder
- CompilationPipeline.assemblyCompilationFinished() hangs unity when reloading domain
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.