Home > database >  How do I set an existing Unity prefab's current scale to be 1, 1, 1
How do I set an existing Unity prefab's current scale to be 1, 1, 1

Time:07-05

I have a prefab in Unity whose scale I have tweaked. I would like its current scale to be considered 1, 1, 1. This will simplify some other game mechanics I am coding.

CodePudding user response:

  • Create an empty object. Let's call it NewObj.
  • Add you tweaked object as a child to the NewObj.
  • Operate on the NewObj with (1,1,1) scale

CodePudding user response:

You can reparent all child objects (to parent == null), change scale of your root object to 1,1,1 and drag childs inside again, they will maintain the current size if you do it like that.

If you have a Mesh Renderer on your root object you should go to models import settings and change scale there

Model scale in import settings

  • Related