Search Issue Tracker
By Design
Votes
0
Found in
2018.2.9f1
Issue ID
1085005
Regression
No
Interpolation/Extrapolation of a Rigidbody 2D stops very briefly when changing it's parent with SetParent() method
How to reproduce:
1. Open the user's project.
2. Enter Play Mode.
3. Press "Space"
Expected results: The circle falls smoothly
Actual results: Interpolation stops very briefly (causing a stutter)
Reproducible on: 2017.4.12f1, 2018.1.9f2, 2018.2.10f, 2018.3.0b4, 2019.1.0a2
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
- SerializedPropertyChangeEvent is invoked when initially binding PropertyFields in custom Editor
- UI Panel is not visible when HDR and STP filter are enabled
- Crash on GfxDeviceD3D11Base::DrawBuffersIndirect when opening a specific project
- OnTriggerExit2D is called in Play mode when undoing component adding
- Builds fail with "Execution failed for task ':launcher:checkReleaseDuplicateClasses'" error when the newer version of the In-App Purchasing package is installed on a specific project
Resolution Note:
If you explicitly change the position/rotation of a Rigidbody2D or change its parent/hierarchy then interpolation is stopped until the next simulation update. It has to do this, it has no other choice. It cannot continue to move from the old position to the new position. For instance, if you were to reparent it then you wouldn't want it interpolating to that new position, you want it to move to that new position instantly.