Why inherit from DirectObject?


I am new to Panda3d, just trying to get to grips with how it works.

I have been creating various objects (menu, player etc) and have seen in the sample code that they are often inherited from DirectObject. When is it necessary to inherit from this class and for what purpose? I have looked through the docs and can’t really find an answer

Thanks for your time, :slight_smile:


This question has been answered in another thread today: discourse.panda3d.org/viewtopic.php?t=4246

Brilliant, thanks, never saw that!