Search Unity

Bug Probuilder - Freeze Transform with negative scale flip the normals

Discussion in 'World Building' started by Maeslezo, Nov 27, 2020.

  1. Maeslezo

    Maeslezo

    Joined:
    Jun 16, 2015
    Posts:
    332
    When you use the feature Freeze Transform, if scale.x is negative, the normals are flipped
    Actually, it's trickier

    scale.x < 0 && scale.z < 0 => No flipping
    scale.x < 0 && scale.z > 0 => flipping
    scale.x > 0 && scale.z < 0 => fipping
    scale.x > 0 && scale.z > 0 => No Flipping

    We could say DoFlipping if scale.x * scale.z < 0

    This behavior is too strange to be by design, so I think it is a bug.

    Freeze Transform Bug.gif
     
  2. kaarrrllll

    kaarrrllll

    Unity Technologies

    Joined:
    Aug 24, 2017
    Posts:
    552
    Yes that is definitely a bug, we should be accounting inverted axes. Can you file a bug report please?