![]() ![]() GroupBoss.getChild(0).getChild(0). except for Code changes, but not for Testing around XD please use it a bit before finding the solution (as i said. No need to interfere with any Code other than above, to make Changes. Int Test = 0 //0 = test Child/s rotating relative to the parent 1 = see Child not rotating relative to Parent rotating realtive to Parent (yeah, i did write it twice intentionally xD) Int Child = 0 //Change to select next Child 0,1,2 (0 = no Child selected) Adjust Values here, to test as simple as possible^^ (took quite some time to get all done nicely xD)įloat angle = radians(01) //just change this, so it rotates around it 0-360 What i have is a pretty complex hierarchycal Pshape(Groups)structure, so for simplicity, i made this, which basically explains the same situation, just more simple. This is all quite easy, but becomes impossible, without knowing the x or y coordinates in the first place. To type specific increments, right-click the center sphere. ![]() So what is needed would be to translate(-x,-y), rotate(angle) and then translate back(x,y). To rotate in pre-set increments, right-click the selected ring and choose Rotate 90 or Rotate 180. Rotate works based on the Origin(0,0), so if you are at (100,100) its still gonna rotate around that. Hi, so at first this question might seem quite easy to answer (just use rotate()), but it's actually not what someone would expect.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |