Peasycam velocity setting: How to stop rotation after the mouse is realeased?
in
Contributed Library Questions
•
2 years ago
I am fairly new to Processing, so this could be a very simple question:
Peasycam is working great!
When in some settings I enjoy the fact that after rotating a 3D object the object still spins further a bit (depending on how fast you turn), in other settings I would like to disable that. Does anybody know a code, that stops the rotation as soon as I let go of the mouse. Something like camera.velocity=0 or camera.DampedAction.stop() ?
I tried around, but couldn't achieve what I wanted.
Thanks for any help!
Peasycam is working great!
When in some settings I enjoy the fact that after rotating a 3D object the object still spins further a bit (depending on how fast you turn), in other settings I would like to disable that. Does anybody know a code, that stops the rotation as soon as I let go of the mouse. Something like camera.velocity=0 or camera.DampedAction.stop() ?
I tried around, but couldn't achieve what I wanted.
Thanks for any help!
1