- Home /
Question by
Valderubius · Aug 21, 2018 at 01:22 AM ·
unity 5script.
Assign rotation of GameObject by using a Vector3 as variable
Hi, I'm trying to assign a rotation of a gameobject using the rotation of another gameobject wich i assigned its rotation in a vector3 variable as static. I can get the rotation coordinates with other script accesing to the first one but i don't know how to set the rotation with these coordinates once i get them. Is it possible?
Comment
While I can easily assume what you're asking for is possible, it isn't possible for me to post a relevant answer without seeing your code.
Your answer
![](https://koobas.hobune.stream/wayback/20220612173204im_/https://answers.unity.com/themes/thub/images/avi.jpg)