playMaker

Author Topic: Dynamic Animation Blending  (Read 2824 times)

knowhere

  • Playmaker Newbie
  • *
  • Posts: 2
Dynamic Animation Blending
« on: October 04, 2011, 07:35:05 PM »
Hey everyone...
I'm trying to puzzle out how to dynamically blend between 2 specific animations at set points in the animations.
My setup: I have 2 sliders controlling the position of two animations on one object. When I scrub the slider on one, it progresses through animation one, and likewise slider two scrubs through animation 2. Is there a way to make it so that when I push both sliders, it progresses and blends the two animations?

pandigital

  • Playmaker Newbie
  • *
  • Posts: 23

Gida

  • Playmaker Newbie
  • *
  • Posts: 48
Re: Dynamic Animation Blending
« Reply #2 on: December 06, 2015, 04:19:14 PM »
Sorry for bumping this, but I ran into the same Problem. Does anybody have a clue?

Greetz

mdotstrange

  • Hero Member
  • *****
  • Posts: 555
    • Can't code? Who cares! Make games anyway!
Re: Dynamic Animation Blending
« Reply #3 on: December 06, 2015, 06:56:09 PM »
Sounds like you want to use Blend Tree's- Unity has some pretty good doc's/tutorials on them

http://docs.unity3d.com/Manual/class-BlendTree.html
Indie game dev and instructor at the Strange School. Learn Playmaker at the Strange School!

Gida

  • Playmaker Newbie
  • *
  • Posts: 48
Re: Dynamic Animation Blending
« Reply #4 on: December 10, 2015, 05:40:21 AM »
Thnx mdotstrange  :),

found a solution myself:

make two sliders, get their values and feed them into global floats. Then animated the seperate parts on the GO myself (morphkeys and transform included). then linked everything to the values. So it is posible to play animations on the same mesh with seperate sliders and even add/blend them.