Hi there, probably a question for Rob, but if anyone knows...
If I wanted to control an object with jit.gl.handle @hover 1 relative to a parent so that the orientation of the mouse aligned with the movement of the object on the screen, is there any way to do this?
For example, the position/rotation is controlling a parent and child. If the parent is turned 90' then when clicking on the child, I would like to be able to reposition it using the 3D axes and mouse controls as a guide correctly oriented to the child.
Looking at the example provided below, try repositioning and reorienting the apple with the mouse.
The axis resides in a different location than the object being controlled by handle. Is anim.gl.node breaking jit.gl.handle somehow? Perhaps is the jit.gl.videoplane in the background breaking things?
When you try and rotate the model and re-position it using the mouse sometimes the model is moving at a 90' angle to the mouse, which is really un-helpful. I've tried fiddling with a few different attributes but so far no luck.