Advertisement
Guest User

Untitled

a guest
Jun 28th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.29 KB | None | 0 0
  1. //trying to instantiate object and change position rotation after setparent
  2. Instantiate_object.transform.parent = parent.transform;
  3. Instantiate_object.transform.localPosition = new Vector3 (-0.019f,0.006f,-0.0878f);
  4. Instantiate_object.localEulerAngles = ,new Vector3 (-24.8839f,-540f,90f);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement