[SOLVED] SkeletonControl blender 2.8

Hi I am trying to get the SkeletonControl after rigging in blender 2.8, is this possible or do i need to use blender 2.79?

To my understanding when reading through the guide, is that its best to convert your assets to .j3o which is more optimized.

What is the most common way to import assets which are rigged and animated?
Do you still just use 2.79?

Sorry to bother.

cheers!

1 Like

Export to gltf and import that into jme. I didn’t have any problems with gltf so far and unlike Blender 2.79, 2.8 comes bundled with a gltf exporter which makes it even easier to use.

2 Likes

Oh thanks!

I am having trouble loading the .glb file with animations, but without any animations it works. Is there a trick to how to include animations?

I’m no expert. They have to be linear animations I think. If you search gltf linear animations on this forum it should give you some results.

Are you trying to load the glb file or the gltf file?

I’m trying to load the .glb file, this is the only file in getting when exporting using blender, actually I’m just following this guide, described below.

https://wiki.jmonkeyengine.org/jme3/advanced/blender_gltf.html

I’m getting this error, not sure how to do the animation
properly.

Caused by: com.jme3.asset.AssetLoadException: Inconsistent animation sampling 
    at com.jme3.scene.plugins.gltf.TrackData.checkTimesConsistantcy(TrackData.java:139)
    at com.jme3.scene.plugins.gltf.TrackData.update(TrackData.java:130)
    at com.jme3.scene.plugins.gltf.GltfLoader.readAnimation(GltfLoader.java:805)
    at com.jme3.scene.plugins.gltf.GltfLoader.loadFromStream(GltfLoader.java:136)

Okay looks like I forgot an important thing, to do it linear as @jayfella mentioned

but wasn’t reading it carefully enough

https://wiki.jmonkeyengine.org/jme3/advanced/blender_gltf.html#animations

thanks for the help.

1 Like