Skip to content

gltfpack: Support KHR_implicit_shapes and KHR_physics_rigid_bodies #982

@Shinmera

Description

@Shinmera

Hi,

I'd really love to use gltfpack to optimise the files I have for use in release scenarios. However, I rely heavily on the KHR_implicit_shapes and KHR_physics_rigid_bodies extensions' metadata for definition of physics properties and colliders and so on (along with another extension of my own to add extra level and animation data).

As I understand, gltfpack strips unknown extensions out entirely, making the files unusable in my context. I suppose for a first step it would be great if those two extensions could be supported, but in general I would be interested in a way to preserve third-party extension metadata.

I understand that due to the transformations gltfpack makes some extensions that rely on the original data indexing would invariably be thrashed. However, a lot of metadata could be transparently preserved by simply keeping the relevant extension blocks attached and avoiding reduction of the nodes the blocks are attached to.

Whatever the case, I thank you for all the work on this so far, and would be very interested to hear about possible workarounds or ways forward.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions