Processing 3: How to keep the axes in their own position? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Processing 3: How to keep the axes in their own position?

I'm making a 3D puzzle, where you have to rotate the cubes. The problem is, that whenever a cube rotates, their axes rotate as well. How do I keep the axes in their own position? I also made a more detailed Stack Overflow post here: https://stackoverflow.com/questions/59973975/processing-3-how-do-i-not-let-the-axes-move-along-with-the-shape

31st Jan 2020, 12:31 PM
Gian Marco Cialdi
Gian Marco Cialdi - avatar
1 Answer
+ 2
I don't know about Processing 3 specifically but I've worked with some kinds of 3Ds and rotation and axes stuffs so would you like to tell what's the axis you're trying to rotate it about? I mean, is it at the center of the cube? Is it one of the corner? Or somewhere else outside the cube?
17th Feb 2020, 3:18 PM
Шащи Ранжан
Шащи Ранжан - avatar