Search the Community
Showing results for tags 'wtf'.
-
WTF... With blend trees I thought blend trees was this big 'mystical animation system' that magically 'BLENDED' animations... First off... the phrase 'BLEND TREE' does NOT HAVE ANYTHING (except for maybe this directBlendParameter unity uses... gotta look more into that one) to do with the actual usage or terminology that we use in Babylonjs for "Animation Blending" kind of a way to smoothly "BLEND" from playing one animation into another animation WITHOUT being so 'JERKY' ... I THINK Now from all the metadata I am gathering from unity to build my blend tree system in the toolkit, there is NOTHING or NO VALUES (again except for may the directBlendParamter) that would seem to directly influence what we would call: animation.blendingSpeed (Transitions are another thing... I think the transition duration is supposed to somehow use animation.blendingSpeed... but that another story)... actually Blend trees are EASIER to implement than transition... BLEND TREES are simply a "Parent animation controller' type deal where it has a set on child trees (that actually have a reference to the clip) that it can play at any given movement based off of PosX and PosY values being pumped into it so if posX and posY (using thresholds) are 0 and 0 you might set that to a idle animation, if its 0 and 0.5 set to walk and 0 and 1 set to run (a little more complex in the condition checking of course... but basically that) So they use the the term "BLEND" to actually swap out the current playing animation from a group of child animations based on a bunch of POS-X and POS-Y inputs... I always thought it was some super complex animation system... From what I can tell its not... and if there is any additional "Animation Blending" type stuff that needs to happen to make it fully (or as much as our BabylonJS API) support any kind of actual animation.blendingSpeed usage and even all the other custom animation support you get from babylon itself to make it a real BLEND TREE system in babylon js... Well that what I working on at least OR I COULD BE TOTALLY WRONG... DUNNO... IM BAKED RIGHT NOW