Physics simulation without graphics

Hi everyone,

To start off, I have an extremely basic python understanding so please keep replies as dumbed down as possible.

I’m looking to use Panda3D and Bullet to do some physics simulations (specifically L-system creature evaluation) for research but I don’t want each and every creature to be rendered/drawn/shown in a Panda3D window whilst it is being evaluated.

Can I use Panda3D and Bullet to do a “behind-the-scenes” physics evaluation and only supply me with some texted output i.e. distance that a specific point of the creature travelled etc?

Hope to hear from you guys
Thanks in advance

from panda3d.core import loadPrcFileData 
loadPrcFileData("", "window-type none")
loadPrcFileData("", "audio-library-name null")
from direct.showbase.ShowBase import ShowBase

class Server(ShowBase):

    def __init__(self):

app = Server()

Mode server.

1 Like

@Zack, just make sure the nodes being used for Bullet are not in the same scene graph as base.render (or any of the other rendering nodes), and they will not render. In other words, do not reparent them to base.render. Bullet will still happily calculate physics on the nodes that are added to its world (regardless of if they get rendered).

1 Like


Thanks @serega-kkz and @Moguri. I’ll try both methods.

I’ll report back once I’ve progressed some…