I am trying to instantiate a prefab at the 0,0,0 position inside a parent object.
public static Object Instantiate(Object original, Transform parent);
The prefab appears to be in the middle of scene with the positon -2.396, 0.149 , -2.63
selected = Instantiate (myPrefab,Vector3.zero, Quaternion.identity, Selected_Assets);
Debug.Log (selected.transform.position);
selected.transform.position = new Vector3 (0, 0, 0);
Debug.Log (selected.transform.position);
Here I tried to set the positon to 0.0.0 after the instantiate but its still in the wrong position. The log saids (0.0,0.0,0.0) twice …
I dont have any animations on the prefabs or its childeren and the prefab has the position of 0,0,0
Any ideas?