|
my script is this...When i scale the object it transform.position gets the same but in the world it shows at different position. using UnityEngine; using System.Collections; public class size1 : MonoBehaviour { }
(comments are locked)
|
|
The scaling happens always around the objects pivot point. The position is not affected when you change the scale. That sounds like you have set the pivot mode to "center" instead of pivot:
If the mode is set to "center" it shows the "handle" at the objects center instead of its pivot You are right, you can't set the pivot point in Unity, but in the application you created the object. I'm not an artist so i can't advise you how ;) i changed the pivot in maya and import it back...thanx
Dec 22 '11 at 08:07 AM
haider1515
(comments are locked)
|


probably it is with the pivot point of the gameObject u r using?!
check where the pivot point is !!
pivot cannot be changed in unity
i have hacked its pivot from gameobject it give the same result
If you rotate the object around it's Y after you scale it you'll see where the pivot actually is.