Search Issue Tracker

By Design

Votes

1

Found in

2018.2.9f1

Issue ID

1087512

Regression

No

Rotation constraints are applied in World Space when the parent of the constrained object is rotated with AddForceAtPosition()

Physics

-

How to reproduce:
1. Open the user's project
2. Enter Play Mode

Expected result: Rigidbody rotation constraints are applied in Local Space
Actual result: Rigidbody rotation constraints are applied in World Space

Reproducible with: 2017.4.12f1, 2018.1.9f2, 2018.2.11f1, 2018.3.0b5, 2019.1.0a3

Note: Works as expected when rotation is applied through transform.Rotate()

  1. Resolution Note:

    AddForceAtPosition produces different rotation behaviour than MoveRotation in this case.

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.