I’m trying to make the camera follow the panda actor in 3rd person mode. This is the link to my code -> https://paste.pythondiscord.com/bedabeceke.py
For some reason, it keeps giving me this error
Known pipe types: CocoaGraphicsPipe (all display modules loaded.) 2019-11-25 19:58:13.620 Python[10532:359092] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to (null) Traceback (most recent call last): File "/Users/38167/PycharmProjects/viren/scene.py", line 39, in <module> app = MyApp() File "/Users/38167/PycharmProjects/viren/scene.py", line 28, in __init__ self.taskMgr.add(self.camera, "camera") File "/Users/38167/PycharmProjects/viren/venv/lib/python3.7/site-packages/direct/task/Task.py", line 384, in add task = self.__setupTask(funcOrTask, name, priority, sort, extraArgs, taskChain, appendTask, owner, uponDeath) File "/Users/38167/PycharmProjects/viren/venv/lib/python3.7/site-packages/direct/task/Task.py", line 404, in __setupTask 'add: Tried to add a task that was not a Task or a func') File "/Users/38167/PycharmProjects/viren/venv/lib/python3.7/site-packages/direct/directnotify/Notifier.py", line 130, in error raise exception(errorString) Exception: add: Tried to add a task that was not a Task or a func
it would be a great help if anyone could figure out why this is happening, thanks!