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

Invalid Retarget transformation on Armature.offset.set() for movement scaling & rotation #18

Open
ArsenicBismuth opened this issue Aug 18, 2023 · 0 comments

Comments

@ArsenicBismuth
Copy link

ArsenicBismuth commented Aug 18, 2023

I'm using the 003_retarget_and_springs.html example with a custom mixamoRig model. The tall/left model is the source, while the short/right model is the target.

If I remove the arm.offset.set() line, this is what I get:

2023-08-19.00-58-46.mp4

Meanwhile, after re-enabling the line:

2023-08-19.00-59-18-00.00.00.000-00.00.08.244.mp4

The target is actually moving downward just a tiny bit. So here you can see that somehow that offset.set() somehow manages to:

  • Rotate the armature properly, but not the movement direction (it goes downward).
  • Scale the armature properly, but not the movement magnitude (it goes much slower).

To emphasize the downward movement direction, here's the clip when I set the offset without the skin.scale (so just rotation & position):

2023-08-19.16-06-39.mp4
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

1 participant