bulletphysics / bullet3

Bullet Physics SDK: real-time collision detection and multi-physics simulation for VR, games, visual effects, robotics, machine learning etc.
http://bulletphysics.org
Other
12.64k stars 2.88k forks source link

Can't (de)serialize btConvexTriangleMeshShape #2241

Closed mschneider closed 3 years ago

mschneider commented 5 years ago

When a btConvexTriangleMeshShape is serialized it falls back to using btConvexInternalShape::serialize which doesn't store the vertices constituting the triangle mesh.

Also the btWorldImporter doesn't support parsing this kind of shape from a .bullet file.

This shape type is frequently used in movie making (e.g. with cinema4d), what would be the best way to enable the missing functionality? I would be very grateful for some rough implementation guidelines.

mschneider commented 5 years ago

We are getting some traction on this issue inside Maxon, and would like to move forward and tackle this bug in the next week. @erwincoumans could you provide some more info on this issue? What would be your requirements for accepting a patch?