Hi Everyone.
Recently, I found a little thing in parenting relationship. I'll illustrate my scenario.
I have a little 3d solid and a 3d null. Here are their rotation and orientation value:
After I parent the solid to the 3d null(named 'Parent'), the child's orientation value changes to keep the original transform status. That is nothing special.
But here comes the question: How can I get the result of [338.0,353.8,307.1] from [25,0,0]? Is there a formula to calculate this? I guess I'm gonna need it in my project.
And here is another interesting thing: the camera won't change its orientation value to keep its original transform after parenting.
Here is the rotation and orientation value before parenting:
And here is the camera in custom view:
After parenting, the rotation and orientation value didn't change, so it is impossible that the camera will still maintain its original transform. So it jumped a little bit. Like this:
It seems that the same holds true for spot light. I guess it is because they both have point of interest?(Not sure)
So I think if I can make out how the child's orientation value is affected by the parent's rotation, I can make compensation for the jumping issue of camera parenting.
How could I achieve this via expression or scripting?
Any reply will be appreciated.
Aaron