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
- Test Runner’s vertical scrollbar overlaps with the up and down arrows and upper toolbar tabs when the window is minimized
- The Input Field view is not updated when deleting lines of text
- The scrollbar does not respect empty lines in the Input Field
- “Texture Atlas Viewer“ button text overlaps another button when the UI Toolkit Debugger is narrowed
- Thresholds are no longer automatically calculated after deleting Motion fields in Blendtrees
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.