remixlab / proscene

Processing library for the creation of interactive scenes

Home Page:http://nakednous.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

disable scene mouse tracking

Diex opened this issue · comments

commented

trying to disable mouse control over scene:

what I did in previous versions:
world.currentCameraProfile().removeCameraMouseBinding(PApplet.LEFT);
world.currentCameraProfile().setFrameMouseBinding(PApplet.LEFT, MouseAction.TRANSLATE);
world.currentCameraProfile().setClickBinding(PApplet.LEFT, 2, ClickAction.SHOW_ALL); //

este lo tengo que agregar

now.. (2.0.5)

world.disableMotionAgent(); // it works,

world.motionAgent().disableTracking(); // it does not.

commented

also fails in 3.0

disableMotionAgent and disableTracking do different things: while the former disables the agent altogether, the latter only disables tracking on the agent not allowing picking.