[SOLVED] Unity HELP with rotation values
Hi, I'm sorry to post here but I've been getting an error for 6 hours and need help from someone with Unity/C#. I'm trying to copy the rotation values of one object to another via script and instead of copying the value "10" it copies over something like, "0.0124". This appears to be a known error with Unity relating to when an object is a child and copying a value to the child, HOWEVER I CANNOT remove the child from the parent since it's the main part of my games gimmick.
This forum talks about the issue...
https://forum.unity.com/threads/duplicating-gameobjects-produces-slightly-different-transform.272908/
The forum has a work-around that copies information right from the editor and this allowed by game to work but it's not a solution since you can't access the editors values when you compile a game.
Shot in the dark, but if anyone has experienced this or has a solution please let me know. I have lost 6 hours to this and fear I won't finish a game :(
Thanks.