Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Discussion How to scale probuilder mesh while keep texture not scaled?

Discussion in 'World Building' started by dbdenny, Sep 6, 2022.

  1. dbdenny

    dbdenny

    Joined:
    Mar 13, 2020
    Posts:
    12
    Sometimes I want to change the scale of a probuilder gameobject to fit some sizes, but when I change the scale in Inspector, its texture will also be stretched, it is annoying.

    like this:
    Snipaste_2022-09-06_11-52-42.png

    Adjust tiling in UV editor is a solution, but it need a lot of repeat operation. Is there any smart solutions?
     
  2. david_kay

    david_kay

    Joined:
    Jul 25, 2017
    Posts:
    22
    don't ever change the object scale if you wnat texture size to stay consistent. Instead use the vert, edge or face mode to modify the object. Just use any of these and select everything (first make sure that hidden selection is on) and then use the scale tool to make the whole thing smaller/ bigger while keeping the scale factor the same
     
  3. dbdenny

    dbdenny

    Joined:
    Mar 13, 2020
    Posts:
    12
    Yes, you are right. Seems ProBuilder doesn't recommended scale the ProBuilder GameObject directly. And since someone strongly demands this feature, we have to create a new material which can ignore the local scale for it.