Search Unity

What is the best practice for size of gameobjects?

Discussion in 'Getting Started' started by RGou, Nov 17, 2021.

  1. RGou

    RGou

    Joined:
    Nov 23, 2013
    Posts:
    2
    The size of my asset is 0.050 Unity units at a scale of 1 which is perfect.
    So 1 unit in Unity is 1 meter and my asset is 50mm.

    Is it preferable to scale by the same factor all GameObjects to make sure the smallest GameObject is bigger than 1 Unity units?

    Thanks!
     
    Last edited: Nov 18, 2021
  2. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    What's most important is whether all your assets are scaled well in relation to all other assets in your game. Also you may run into problems if you're going for extremely small or extremely large scales, because everything is positioned and scaled in Unity using floats, and floats only have an accuracy of about 6-8 decimal digits. So you may experience jitter when dealing with those extremely small or large scales (or positioning things far from origin).
     
    BrandyStarbrite and RGou like this.
  3. RGou

    RGou

    Joined:
    Nov 23, 2013
    Posts:
    2
    Thanks! So, dealing with scale at the origin of the asset (Blender, Maya or others) is the best practice, this way, we stay in a safe proportion in the case we have to adjust or make effects with them.
    Thanks again Joe-Censored for the quick reply.