Baker Xiao Posted September 4, 2017 Share Posted September 4, 2017 See https://www.babylonjs-playground.com/#8MR5MZ#1 If you slow down a skeleton animation by setting a small speed ratio, the animation wouldn't be smooth any more. Is there a way to make it interpolate from frame to frame? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted September 5, 2017 Share Posted September 5, 2017 Hello this is because by default matrices are not interpolated. But here is how to force it: https://www.babylonjs-playground.com/#A786IH Quote Link to comment Share on other sites More sharing options...
Baker Xiao Posted September 5, 2017 Author Share Posted September 5, 2017 17 minutes ago, Deltakosh said: Hello this is because by default matrices are not interpolated. But here is how to force it: https://www.babylonjs-playground.com/#A786IH Awesome, thanks! Exactly what I was looking for! Is it disabled by default because of performance reasons? Does it have significant impact? Quote Link to comment Share on other sites More sharing options...
Baker Xiao Posted September 5, 2017 Author Share Posted September 5, 2017 I figured I should find out the answer myself. We have about 5 skeletons, each with 12 bones, all doing different animations in the same scene under the camera for 20 seconds. Here's what it costs. The interpolation itself doesn't seem to be too bad. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted September 5, 2017 Share Posted September 5, 2017 It is ok most of the times But we have found some examples where the decomposition was not working so we ended up removing it by default Baker Xiao 1 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.