Search Unity

Geometry Bug

Discussion in 'Editor & General Support' started by AndreyO, Aug 16, 2016.

  1. AndreyO

    AndreyO

    Joined:
    Jan 31, 2014
    Posts:
    20
    UPD: I just realized that this is unsolvable task in general case :D. Will use proxy parent object with identity matrix. So, please just delete this thread

    Hello. Found a bug with Unity geometry when parenting objects:
    1. Create new scene
    2. Create Gameobject with identity transform execpt Y scale = 0.1
    3. Create Capsule with identity transform except X rotation = 70
    4. Make capsule child of Gameobject by dragging on it
    5. See the bug


    I'm using Unity Pro 5.4.0b24
    1. capsule-not-parented.jpg capsule-parented.jpg
     
    Last edited: Aug 16, 2016
  2. shawn

    shawn

    Unity Technologies

    Joined:
    Aug 4, 2007
    Posts:
    552
    Hey, this isn't actually a bug. This is expected, albeit confusing, behavior that is inherent to how matrices handle non-uniform scaling and rotation. If you do a search on google of something like "non-uniform scaling rotation" you'll find that this isn't unique to Unity. This is a mathematically limitation in matrix multiplication.
     
    DroidifyDevs likes this.