panda3d.org/manual/index.php/U … _the_Panda
def SpinCameraTask(task):
angledegrees = pandaActor.getHpr()
angleradians = angledegrees * (math.pi / 180.0)
base.camera.setPos(20*math.sin(angleradians),-20.0*math.cos(angleradians),3)
base.camera.setHpr(angledegrees, 0, 0)
return Task.cont
Basically I’m new to panda 3d and python, but an expert in numerous other languages. I can’t figure out how to report the actors rotation.