Rotation Problem Parent w/Children
Posted: Sun Oct 05, 2014 11:19 pm
I have two scene nodes, a parent and child where the child's yaw is adjusted based on some trigger during the main render loop. This works nicely but I need to add some functionality where when a trigger is detected, the child node's orientation is used to rotate the parent node to face the same direction without rotating the child node. In other words, I need to rotate the parent scene node so it's facing direction matches that of the child node, but at the same time not rotate the child nodes during the translation process. How would I accomplish this?