Search Issue Tracker

By Design

Votes

0

Found in

5.0.0a13

Issue ID

614908

Regression

No

Transform is deformed when its non-uniformly transformed parent is set

Scene/Game View

-

Steps to reproduce:
- Create gameobject. Let its name be "Parent". Apply any non-uniform scale and rotation transformations.
- Create another gameobject. Set it to be a child of "Parent" gameobject. This gameobject will become incorrectly transformed.

Why is this by design?
A transform defined by position, rotation and x/y/z scale cannot represent the local transform needed to define the child transform relative to the rotated and non-uniformly transformed parent (as that would be a shear transform). To overcome this, we would have to represent transforms as fully customizable 4x4 matrices (which is generally considered inconvenient).

Comments (1)

  1. ale3557

    Apr 28, 2015 10:56

    in unity 4.6.4 not happen it, why in the new unity yes?

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.