How to drag object with mouse

Posted by robbiezl on
URL: https://forum.jogamp.org/How-to-drag-object-with-mouse-tp4025333.html

Object in 3d has a position x,y,z ,but the mouse only has the x,y position
how to use mouse drag a 3d object move with the mouse pointer exactly?

any  JOGL exmples ?thank u very much.