Instantiate(talpa1,new Vector3(0,0+i,0), Quaternion.identity);
How i can spawn this GameObject and rotate it. Identity doesnt work for me.
I wanna to rotate it at 90 by Y
Instantiate(talpa1,new Vector3(0,0+i,0), Quaternion.identity);
How i can spawn this GameObject and rotate it. Identity doesnt work for me.
I wanna to rotate it at 90 by Y
Use
Instantiate(talpa1, new Vector3(0,i,0), Quaternion.Euler(0,90,0));