1
$\begingroup$

Hello fellow BlendMasters!

I am trying to make a simple sliding door animation for my GLTF viewer and keep running into this problem:

When i parent my objects (doors) with the separate bones (ctrl + p > Bone) in blender it all looks good, but if i export this scene to GLTF format and look at it in GLTF viewer - doors are misplaced. Misplacing happens even when there are no animations nor actions made.

My blender file looks like that: initial blender file

This is what i get in gltf viewer:

gltf viewer

My final intention is to separatelly start animations of the both doors. Final intention

imgur album: https://i.sstatic.net/s9c6i.jpg

What am i doing wrong? Maybe it is not the right way to do this? In my final file there will be more doors like that, which i want to control individually.

My Blender sample file:

$\endgroup$
0

1 Answer 1

0
$\begingroup$

As i found out from glTF Blender Exporter github issue thread, this is exporters problem. Workaround to this is:

...to create joints and weights for this mesh and give full weight to the bone it is assigned to.

That worked for me, so i hope it will help someone like me in the future.

$\endgroup$
1
  • $\begingroup$ You could then mark your answer as accepted... $\endgroup$
    – Luciano
    Commented Dec 9, 2019 at 15:25

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .