Hi all,
I worked through the beginner tutorial: Panda3D manual-controlling the camera.
What does task.time return?
It seems that the manual does not mention about task.time and task.cont
Thanks in advance
Hi all,
I worked through the beginner tutorial: Panda3D manual-controlling the camera.
What does task.time return?
It seems that the manual does not mention about task.time and task.cont
Thanks in advance
About .time: task.time holds the total time in seconds this instance of Task has been running.
About .cont: The method called by a task has to return a value. The task manager decides what to do depending on what value is returned:
enn0x
Now I understand them more.
Thanks a lot, enn0x!