ozRocker Posted October 9, 2017 Share Posted October 9, 2017 How does animation blending work? I use skeleton.enableBlending() for a smooth transition from one animation to the other. It looks a bit weird though. Does this work by combining the bone position changes from one animation to the other or combining vertex position changes? Quote Link to comment Share on other sites More sharing options...
adam Posted October 9, 2017 Share Posted October 9, 2017 In the past I've noticed some weirdness with animation blending, too. I think this could be due to blending matrices instead of quaternions. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted October 9, 2017 Share Posted October 9, 2017 The blending is a pure mix of current key value and new value. So as Adam mentioned, we are blending matrices for bones. Do you have a repro case of weirdness? Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted October 9, 2017 Share Posted October 9, 2017 There is an old topic about this. The upshot was it was due to rotation difference between the 2 matrices, and decompose(). This topic keeps happening over and over. I solved it in QI, although I still have a problem when say an adult was used for a sit pose. If that pose is attempted to be used on a baby, the baby also shifts back. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.