if i set:
base.drive is None
which i need for:
groundPusher = CollisionHandlerPusher()
groundPusher.addCollider( self.objectSphereColNp, self.nodePath, base.drive.node() )
so it’s impossible to use the the collisionHandlerPusher with a display less server.
I havent figured out how to create the base.drive myself. (base.drive = DriveInterface() is not enougth)
is there any way to fix that?
are you really need to use DriveInterface ? or simply copying from manual ?
well, the code is all there in ShowBase.py :
(you just need to parent it somewhere)
self.drive = self.dataUnused.attachNewNode(DriveInterface('drive'))
didn’t try it though
I already wondered what this is used for, and even now i still dont really understand what the drive mode is ( is this the usual mouse control? )
But at least the collisions work fine just by removing the base.drive.node()