- Home /
Question by
$$anonymous$$ · Jan 27, 2015 at 08:08 PM ·
valuenegativepose
Wrong positon
#pragma strict
function Start () {
yield WaitForSeconds (2);
transform.localPosition = Vector3(31.5f, 19.5, 50);
transform.localEulerAngles = new Vector3(30.5, 225, 0);
}
This scipt not pose my object where i want... What is worng? I think is in negative value. It pose object in positive value... Can somebody help me?
Comment
What position are you expecting?
$$anonymous$$aybe the parent object is scaled/rotated, try using the global versions transform.position and transform.eulerAngles to confirm.
Your answer
![](https://koobas.hobune.stream/wayback/20220613181702im_/https://answers.unity.com/themes/thub/images/avi.jpg)