Search Issue Tracker

Active

Votes

1

Found in

2021.3.46f1

2022.3.53f1

6000.0.28f1

6000.1.0a5

Issue ID

UUM-87841

Regression

No

Inaccurate Box Collider boundaries on a rotated child Cube when the parent GameObject Scale is non-uniform

--

-

Reproduction steps:
1. Open the attached “Bug.zip” project
2. Open the “SampleScene”
3. Select the “Parent” GameObject from the Hierarchy
4. Observe the Box Collider Gizmo in the Scene view

Expected result: The Box collider matches the Cube transforms
Actual result: The Box collider does not match the Cube transforms

Reproducible with: 2021.3.46f1, 2022.3.53f1, 6000.0.28f1, 6000.1.0a5

Reproducible on: Windows 11
Not reproducible on: no other environment tested

Note:
- The skewing of the rotated Cube is expected due to its parent having non-uniform Scale based on: [https://issuetracker.unity3d.com/issues/rotation-causes-skewing-when-transform-is-a-child-of-a-non-uniformly-scaled-transform|https://issuetracker.unity3d.com/issues/rotation-causes-skewing-when-transform-is-a-child-of-a-non-uniformly-scaled-transform|smart-link], but then the Collider should match the skewing

Comments (1)

  1. appellod

    Nov 20, 2024 06:54

    Same behavior with Mesh Colliders. Hoping at the very least Mesh Colliders can match the visual skew. I can understand if the physics engine doesn't want to warp a Box Collider.

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.