Blendmode = Additive

Ok, I’ve been on animations for so darn long, and I’ve had problem after problem…'I have an animation I play by script and change to Additive by script, but now it only adds the position in my Animation, it does not minus it… which is so darn stupid.
It just shoots my ball thats supposed to be bouncing straight into the air.
How doooo I fixxx it?

post…? :smile:

? can you post the line of code?

sure thing, but please help me c:

void Update () {
if (Input.GetKey (KeyCode.Space)) {
animation.Play (“Test”);
animation [“Test”].blendMode = AnimationBlendMode.Additive;
}
}

Oh, if it matters, it says I need a muscle definition or something

? Code tag maybe ?

Seriously? How hard is it to copy-paste the message into a forum post? You might get some actual advice if people knew what your problem was. Stop posting like a stoned teenager.

you might be wanting to use the animation.CrossFade() function if I’m understanding correctly instead of animation.Play() if what you are wanting is to fade from one animation to the next

Kelso, seriously? You don’t have to insult me to ask for something.

Animation clip ‘Test’ is not retargetable. Animation clips used within the Animator Controller need to have Muscle Definition set up in the Asset Importer Inspector
UnityEditorInternal.InternalEditorUtility:LoadSerializedFileAndForget(String)
UnityEditor.WindowLayout:LoadWindowLayout(String, Boolean)

You’re confused and talking about two different things. animation and animator components are entirely different animation component is Unitys legacy animation system and animator component is the newer mecanim tool.

Just please tell me how to fix meh animation.
Unity shouldn’t make it like this…:frowning:

plz…

Nope. Check the Learn tutorials and learn more about Unity.

What Learn tutorial shall I look at?
Seriously, I don’t want to spend my time learning things I already know until I finally find something.
Anyways, why should there be a forum if we’re supposed to do everything without help from actual people who have experienced a problem?

Do all of them. Every. Single. One. There’s not going to be a tutorial that tells you how to fix the exact issue you’re facing so the value comes from learning how the systems work so that you can figure out how to fix it yourself. When you say things like “I don’t want to spend my time learning XYZ” then my response, and I’m sure I’m not alone, is that I don’t want to spend my time helping you.

You will get help from people here but they won’t do the work for you. If you post clear, concise, and mature questions then you’ll get clear, concise, and mature answers.