- Home /
Question by
FakePL · Mar 06, 2019 at 05:24 PM ·
rigidbody2dphysics2drigidbody physicsrigidbody collision
Rigidbody2D.position and Rigidbody2D.MovePosition()
In FixedUpdate() i make multiple assignments to Rigidbody2D.position to use Rigidbody2D.Cast() from different positions, and then based on result I determine final position and call Rigidbody2D.MovePosition(). If movement is set to be interpolated, will it be from initial position to destination, or from recent Rigidbody2D.position value to destination?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612193049im_/https://answers.unity.com/themes/thub/images/avi.jpg)