Search Issue Tracker

Duplicate

Votes

0

Found in

5.2.0f3

Issue ID

728051

Regression

No

[Rigidbody2D] MovePosition() does not work with kinematic rigidbodies

Physics2D

-

Steps to reproduce:

1. Open the attached project
2. Open 'PressToFloat' scene
3. Notice the script calls MovePosition() function and sets the rigidbody to kinematic as the button is pressed
4. Play the scene
5. Press the button
6. Notice the object moves upwards without stopping instead of moving to the wanted position

Note: Same happens if the rigidbody is already set to be kinematic and that is not done via script.

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.