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

Animation bug: armature modifies only root bone position #14

Open
ksons opened this issue Oct 9, 2015 · 3 comments
Open

Animation bug: armature modifies only root bone position #14

ksons opened this issue Oct 9, 2015 · 3 comments

Comments

@ksons
Copy link
Owner

ksons commented Oct 9, 2015

From @Arsakes on October 8, 2015 21:24

I've used blender exporter to create an animated asset - it works perfectly if there is only one bone with 1.0 weight for whole asset.
However for skeleton that consists of many bones and different weights the animations doesn't work as expected (or rather as in blender). The situation is following:

  1. All files load correctly there are no errors related to file structure.
    2 The only effect that armature has on object is translation of whole mesh (it looks like only position for root bone was computed and effects applied to mesh) there are no other deformation whatsoever. Despite the fact almost all bones have non-zero rotation and position changes.

I'm eager to give you both xml3d assets and blender file to test.

Copied from original issue: xml3d/xml3d.js#150

@ksons
Copy link
Owner Author

ksons commented Oct 9, 2015

Since this seems to be a blender exporter related issue, I'll move it over to https://github.com/ksons/xml3d-blender-exporter

@Arsakes
Copy link

Arsakes commented Oct 10, 2015

Are there any edge cases where exporter is unable to export armatures? Any limitations one should remember when exporting skeletons?

Is there any way I can set more elaborate xflow debug comments?

Here is the link to blender asset:
https://www.dropbox.com/s/aed6epp7ss04zfv/winged_hussar.blend?dl=0

@Arsakes
Copy link

Arsakes commented Oct 24, 2015

Ok, It seems I've solved the issue (it requires at least one more test though).
When one poses his bones it is necessary to use Rotation mode: Quaternion option (You can set this in pose mode in "bone properties" toolbar. If you use other option you won't produce usable armatures.
I'm using blender 2.8 (but I suspect the issue is the same on all versions).
Please add this information somewhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants