Use mouse to control camera view in opengl window

Official Python bindings with a focus on reinforcement learning and robotics.
Post Reply
cdm
Posts: 2
Joined: Fri Jul 20, 2018 11:15 pm

Use mouse to control camera view in opengl window

Post by cdm » Fri Jul 20, 2018 11:24 pm

Hi all,
I'm new to pybullet. I was wondering if it is possible to control the 3D view of the opengl window using the mouse? I can only zoom in and out, but not other operations as rotating the view.
I mean just moving the 3D view as you can do with most viewers.
Does this require code or there is some trick with the mouse that I haven't discovered? (Using python3 in ubuntu 16.04).
Thanks.

Post Reply