Camera spinning wrong way.

Basically, I used a hpr interval to spin the camera with

def battleCameraSeq(self):
		self.goBackToBattleCamSeq = Sequence(
			Func(base.camera.posInterval(1,(70,-33,37.5)).start),
			Wait(1),
			Func(base.camera.hprInterval(1,(0,325,0)).start),
		)
		self.goBackToBattleCamSeq.start()

It works fine but the issue is that when the camera does the hpr interval it spins backwards which looks bad. I want to know if I can make it spins forward instead.

You can still rotate the camera like this:

# -*- coding: utf-8 -*-   
from direct.showbase.ShowBase import ShowBase
from pandac.PandaModules import *

class MyApp(ShowBase):
 
    def __init__(self):
        ShowBase.__init__(self)
        
        base.disableMouse()
        
        map = loader.loadModel("models/environment")
        map.reparentTo(render)
        
        self.speed = 10
        self.degree = 0

        taskMgr.add(self.rotate, "rotate camera")
        
    def rotate(self, task):
        camera.setH(self.degree)
        self.degree += globalClock.getDt()*self.speed

        if camera.getH() >= 360:
            self.degree = 0

        return task.cont
  
app = MyApp()
app.run()

I don’t quite understand what you are doing in your code. :question: