![]() ![]() ![]() What you do is, when you want to twist SMALL CUBE, you actually call to the TwistSomethingOnMyAxis ON THE CONTROL OBJECT. The code I currently have is this void RotateZ(int value) RotateZ and RotateX should rotate the child dice around the parents Z and X axes in 90 degree steps. I want the child object to have two methods that I'll call RotateZ and RotateX. ![]() 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 For the most part, any characters are valid within brackets, including characters mentioned previously in expressions: xa,5Gg. The only way I can think to explain it properly is with some poorly drawn diagrams so here goes! x, xa, xa5 A character set indicates that just one of the given character(s) should occur in the current position. 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. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |