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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
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.