Search Issue Tracker
Duplicate
Votes
0
Found in
2017.2.0a4
2017.4.0f1
Issue ID
1022611
Regression
Yes
MovePosition stops working when used simultaneously with transform.Rotate
How to reproduce:
1. Open attached project ("RigidBody MovePosition.zip")
2. Enter Play mode with nothing selected in Hierarchy window
3. Press space to rotate "Player" object
4. Observe the Game View
Expected result: "Player" object can move and rotate at the same time
Actual result: "Player" object stops moving when rotating
Reproducible with: 2017.2.0a4, 2017.2.2p3, 2017.4.1f1, 2018.1.0f1, 2018.2.0a9
Not reproducible with: 5.6.5p3, 2017.1.3p3, 2017.2.0a3
Notes:
Also, MoveRotations stops working when used simultaneously with transform.Rotate
Workarounds:
- If you select a GameObject, in Hierarchy, which has a Collider and Gizmos(Move Tool or Camera icon) then MovePosition works with transform.Rotate.
(MovePosition must be in FixedUpdate and transform.Rotate must be in LateUpdate or Update for the workaround to work)
- If there is ParticleSystem in Scene then MovePosition works with transform.Rotate.
(MovePosition must be in FixedUpdate and transform.Rotate must be in LateUpdate or Update for the workaround to work)
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
This is a duplicate of issue #984547