I’m playing around with vvvv a bit. At the moment I try to create a control to move and rotate objects. For now I use the x- and y-coordinates out of the renderer to do the transforming. If you want you could take a look at the attached patch.
Of course the problem is that the transformation depends on where the mouse cursor is when clicking and dragging.
I need something like the Points2Vektor. Or better, it would be usefull but I don’t know how to save the cursor coordinates on button press and release.
When I press and hold the mouse button, the coordinates of the cursor should be stored (starting coords). But when releasing the button the coords from the endpoint of movement should be stored somewhere, too. Then the distance of movement could be calculated through the Points2Vektor-node.
I hope it’s understandable…
Someone any ideas?
Oh, only to mention it: I want to move the object, not the camera ;)