I am trying to drag some Quads around in Renderer with Button 3D. The Problem is, that i don’t know how to map the mouse coordinates to the cameras view frustum, so that I can drag the quads with one mousemovement from one edge of the renderer to the other.
I was playing all day with Transformations, but still got no clue.
I already had a close look at those examples, but I need to move the Quads in 3D Space. Button 3d helps a lot to get the hit, but once a camera is connected to the Renderer, I don’t know how to get the drag working, since -1 to 1 doesn’t work, when the camera is translated in the z-axis.
When connecting the inverted view rotation I don’t get the desired effect. I tried every transform node that I could find, and tried to combine them, but that’s just guessing, since I don’t understand the mathematics of transformations.