- Home /
This post has been wikified, any user with enough reputation can edit it.
Question by
Eternity429 · Mar 18, 2015 at 11:49 AM ·
c#animatorblend treemachine
why I can't change motion in the BlendTree by C#?
// like this is not work
blendTree.children[0].motion = GetMotionByName(path,"walk_down");
it's not to work,but use add function is fine.
// like this is ok
blendTree.AddChild (GetMotionByName (path, "walk_down"));
it is bug? My UnityVersion is Unity5.0.0f4.
Comment
Having the same issue. But it's a bigger deal since I need to change additional fields--timescale / speed. Can we get a Child$$anonymous$$otion return ins$$anonymous$$d of void in the future from AddChild()? Or a more overloaded AddChild() function? ver 5.3.4f1
Your answer
Follow this Question
Related Questions
Blend Tree Animation Problem 1 Answer
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Play Animation with int (ammo count) 0 Answers