Sure!
The following may or may not be exactly what you’re looking for–naturally I don’t know what precisely you have in mind–and I haven’t tried them myself that I recall and so am not in a position to speak one way or another to their quality. I also recommend reading through the threads to see what others had to say about them.
That said, these may at least provide a good starting-point for you:
This is a script I created to use as a default camera control, because I find the built in camera control really awkward.
The script creates a blank NodePath to use as an anchor and reparents the camera to it. The script has 3 inputs to control the camera. They are:
The left mouse button causes the anchor to move forward, taking the camera with it.
Holding the right mouse button and moving the mouse causes the anchor to rotate left, right, up, and down, which makes the camera orbit around the…
This is a module for individual camera control. The subject is a visualization, which is a diagram on the plane Y = 0, so the cameras always point down the Y axis (or up it). The arrow keys move the camera parallel to the plane. The mouse left-button selects a region for zooming in. The mouse right-button grabs & scrolls or drags. The wheel zooms in or out by a proportion. Multiple cameras operate individually; the keys control the camera of whatever view the mouse is currently over. The …
Thought I should repost it here for others.
No credit needed.
MOUSE CONTROLS:
import direct.directbase.DirectStart
from panda3d.core import *
base.disableMouse() # disable default mouse controls
# hide mouse cursor, comment these 3 lines to see the cursor
props = WindowProperties()
props.setCursorHidden(True)
base.win.requestProperties(props)
# a scene
environ = loader.loadModel('environment')
environ.setScale(0.1)
environ.setZ(-5)
environ.reparentTo(render)
# model for the camera to orbi…