Closed Clockwork-Muse closed 3 years ago
A BulletGhostNode is getting created as expected, but it looks like BulletGhostNode does not implement BAM serialization. In other words, this is an issue in Panda, and I am not sure if there is an appropriate work around we can implement in this library.
.... good to know...
Actually, passive rigid bodies should not be exported as BulletGhostNode, but rather as a BulletRigidBodyNode with zero mass. In Blender, "passive" means that the body is not affected by forces, but it does participate in collision detection.
@rdb - I would prefer that too (and should be static on top of that), but there's other issues to track that particular question. The exporter just currently exports all passive bodies as "intangible".
Fixed in panda3d/panda3d#1104
When gltf files are imported or converted into .bam files, or files are auto-converted by the blend loader, and use Bullet physics, there are no Bullet physics nodes generated for Blender passive rigid bodies. Instead an empty node of some sort is generated:
Outputs:
exporting the file with builtin physics does generate the anticipated (currently intangible)
CollisionBodyNode
, so presumably the gltf file itself is fine:(I wish there was an easy way to observe the intermediate file)