if I control the group, it will still behave as mentioned (still rotating with reference to their quad's middle point)and if you put all your quads in a group, and then rotate the group ?
how do I request the current quad handles? The software only sends an OSC message to my PC, IF I changed those variables in the software. I am not getting any message if I use OSC to send the positions. Am I missing something here?Through OSC Query you can request the current quads handles X/Y positions and set them.
If you want to rotate the quad around Z axis at position (centerX,centerY), you can rotate their 4 handles around this point.
To rotate a point (posX,posY) around (centerX,centerY) by N radians, do
relativePosX = posX-centerX
relativePosY = posY-centerY
newRelativePosX = relativePosX * cos(angle) - relativePosY * sin(angle);
newRelativePosY = relativePosX * sin(angle) + relativePosY * cos(angle);
newPosX = newRelativePosX+centerX
newPosY = newRelativePosX+centerY
Users browsing this forum: No registered users and 2 guests