I have very simple code to instantiate a prefab object that is set like so many tutorial examples I am currently following.I am finding however, that my object below has a scale changed to (2, 2, 2), instead of (1, 1, 1).
My start position and scale, also i have parent object “Hand”
Are you setting the values for a prefab or an instantiated clone? What is the scale of your Player and Player_Model objects? Do you need a direct linear hierarchy?
I would try to keep all of your scales at 1,1,1 for consistency if possible.
OK, so the Player_Model has a scale of 0.5, which will affect all of its’ children as well. If the sword’s scale is wrong at 1.0, you can try just explicitly setting it to 0.5 after parenting so that it matches the Player_Model’s scale but not the Hand’s scale… or alternatively, correct the issue with the Player_Model so that all of your scales are 1,1,1 which is the ideal setup as scaling objects like this will affect everything: particle systems, colliders, the physics system, etc.
Ok, I understood, what all depend from my parent (and up hierarchy)
But, last question:
I stand explicitly scale - it’s ok work when i call instance, but then rotation and position change, instance take only scale property.