Search Issue Tracker

Active

Fixed in 2023.2.17f1, 6000.0.0b13

Votes

0

Found in

2023.2.0a1

2023.3.0a1

Issue ID

UUM-65646

Regression

No

Some Rigidbody2D.Cast overloads do not correct use the Rigidbody2D angle.

--

-

*Steps to reproduce:*

1. Unzip the "CastShapeTest.zip" file.

2. Load the Project and the "SampleScene" scene.

3. Hit Play.

4. Red areas highlight BoxCollider2D that are detected.

 

*Actual results:* 

The detected boxes do not represent the rotating Rigidbody2D and its BoxCollider2D. They represent the physics query without rotation!

 

*Expected results:* 

The detected boxes should represent the rotating Rigidbody2D.

 

*Reproducible with versions:* 

*Not reproducible with versions:* 

*Can’t test with versions:* 

*Tested on (OS):* 

*Notes:*
* Reproduced from a discussion on the forums here: https://forum.unity.com/threads/rigidbody2d-cast-shape.1553102/#post-9679163

  1. Resolution Note (fix version 6000.0.0b13):

    Verified as fixed on 6000.0.0b14.

  2. Resolution Note (fix version 2023.2.17f1):

    Thank you for the report! This is verified as fixed on 2023.2.18f1.

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.