Difficulty with rotating child around parent axes
问题 I know there's a million questions on rotating, I've tried and read many things but I can't seem to solve this particular problem. The only way I can think to explain it properly is with some poorly drawn diagrams so here goes! I have a parent object, and a child object (here it's represented as a die where opposite faces add up to 7), the axes in this diagram are the parents X, Y, and Z directions Starting point: I want the child object to have two methods that I'll call RotateZ and RotateX