Probably I’m doing something wrong but I cannot get any controls from a generated j3o file.
What I did is: cloned the MonkeyWrench project, uploaded a makehuman model to mixamo and downloaded a t-pose as well as a simple walking animation. Both were processed by ImportMixamo and the resulting scene.j3o allegedly contains the animation. It says: version-2 J3O model asset with 5 meshes, 2 animation clips, and 16797 vertices
.
Now when I try to load this j3o file back into the engine there is only the model without any controls - at least a debug output shows the list of controls is empty. Isn’t it supposed to contain a control for the animation clip (an AnimComposer I guess)?
This is the code to check for attached controls:
playerModel = this.app.getAssetManager().loadModel("Models/scene.j3o");
LOG.info("playerModel is " + playerModel.getClass());
for (int i = 0; i < playerModel.getNumControls(); i++)
LOG.info(" with control " + playerModel.getControl(i));