Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

weird bug or did I do something wrong?

Discussion in '5.4 Beta' started by rewar281, Jul 17, 2016.

  1. rewar281

    rewar281

    Joined:
    Apr 7, 2015
    Posts:
    24
    No other assets used other than pro-builder and ufps. The primitive(cube) in question is a regular standard unity object with no scripts attached or anything else. The problem if you can see the video, is that rotating the object causes weird resizing issues. Has anyone had this happen to them?
     
  2. superpig

    superpig

    Drink more water! Unity Technologies

    Joined:
    Jan 16, 2011
    Posts:
    4,657
    This is expected if the object is a child of one that has non-uniform scaling applied.
     
    AcidArrow likes this.
  3. rewar281

    rewar281

    Joined:
    Apr 7, 2015
    Posts:
    24
    Would non-uniform scaling be applied to a parent object created from within the editor itself? Given the amount of objects put into the container parent how is one then supposed to edit attributes on a single element, take the object out of the parent->rotate->then put back in the parent? Did I inadvertently apply non-uniform scaling to the parent somehow or is that applied automatically? I ran into the same issue when trying to create swing doors using the empty object as a pivot method.
     
  4. superpig

    superpig

    Drink more water! Unity Technologies

    Joined:
    Jan 16, 2011
    Posts:
    4,657
    My guess is that you applied it yourself, possibly without realising - look at the parent of your cube (and possibly the parent of its parent, etc, all the way up the hierarchy) for an object with scale values that aren't all the same.
     
  5. yahodahan

    yahodahan

    Joined:
    Apr 26, 2009
    Posts:
    1,380
    Quick note, just in case it's useful for building those stairs: PB can generate stairs for you, if that helps avoid multiple cubes and parenting, which can get messy.