Login  Register

MouseTranslate behavior not working

Posted by runiter on Jan 22, 2022; 6:20am
URL: https://forum.jogamp.org/MouseTranslate-behavior-not-working-tp4041599.html

I used to be able to use MouseTranslate to move the scene by dragging mouse while holding right-click but it no longer works. When I looked inside the code I noticed the problem is this code:

https://github.com/hharrison/java3d-utils/blob/master/src/com/sun/j3d/utils/behaviors/mouse/MouseTranslate.java#L231

Looks like in addition to dragging mouse, the Meta key needs to be pressed too?
Is there any way to translate the scene by just dragging mouse without pressing Meta key?
Saeid Nourian, Ph.D. Eng. | Graphing Calculator 3D