Hello,
Working on a side scrolling shooter, and I got the character in and hooked up to the script. The problem is I want to control the shooting “animation” via a script. To be specific, I want the arm to have no animation and control its animation via a script.
I tried looking into addmixingtransform, but I’m not sure that this is what I want.
Any ideas?
animation blend? maybe that way it will only effect the arm and not the rest?
I’m not sure as to the implementation. When I tried it (per the example in the docs), the blend messed up the whole animation and my model kept doing some loony toons animation where it would flop its arms and curl into a pretzel.
Hilarious as it was, it’s not the effect I was going for 
lol, hm, ive never tried this before, im SURE somebody on this forum has been in this situation, but ill give you a theory to work with if you want to try,
maybe ad an animation component to root of your arm (upper arm bone?)
then in your 3d program make an animation that only moves the arm into the shooting position.
import your model, and create the animation lists. Then for the arm bone, attach the animation file.
then in your script say something like :
if button shoot down
arm.Animation.CrossFade(“shooting”);
may work? i cant promise tho! lol
if that works then you can do the same for the legs and w/e else !
let me know if it works
Ok, I’ll give it a shot and post. Thanks for the help.