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

Physics2D

-

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

  1. 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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.