Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"No skinned Spatial for joint" in GltfLoader.setupControls() #2247

Open
stephengold opened this issue Apr 23, 2024 · 0 comments
Open

"No skinned Spatial for joint" in GltfLoader.setupControls() #2247

stephengold opened this issue Apr 23, 2024 · 0 comments
Labels
defect Something that is supposed to work, but doesn't. Less severe than a "bug"

Comments

@stephengold
Copy link
Member

stephengold commented Apr 23, 2024

Forum discussion: https://hub.jmonkeyengine.org/t/gltf-glb-animated-model/47617

To reproduce:

  1. Download the model using the "Download 3D Model" and "GLB Converted format Texture size: 1k" buttons.
  2. Load the model using:
assetManager.registerLoader(GlbLoader.class, "glb");
ModelKey modelKey = new ModelKey(assetPath);
assetManager.loadModel(modelKey);

With JME 3.7.0-alpha3.1, the model loads with a warning but no exceptions:

Apr 23, 2024 3:22:32 AM com.jme3.scene.plugins.gltf.GltfLoader setupControls
WARNING: No skinned Spatial for joint "Root_00" -- will skin the models root node!

The loaded model contains a SkinningControl but no AnimComposer. There ought to be an AnimComposer because the GLB file contains an animation.

@stephengold stephengold added the defect Something that is supposed to work, but doesn't. Less severe than a "bug" label Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect Something that is supposed to work, but doesn't. Less severe than a "bug"
Projects
None yet
Development

No branches or pull requests

1 participant