Animator paremeters in scripts of separate objects

Ok so I understand mecanim fairly well. Enough to animate my character anyways.

What I am wonder is the parameters I am making in the animator window. I. E. Canjump, grounded, things that. Are they accessible from a script not attached to the same object the animator is attached to? I know how to access them if the script is attached to the same object.

Ok, a little bit theory first. Any game consists of game objects and any game object consists of set of different scripts. It can be your own scripts where you implement your logic (and change Animator parameters). And also it can be system’s scripts like Transform, RigitBody, Animator and so on. Every scripts added to the same game object can interact with each other by GetComponent method or by base class ptroperties (like .renderer or .animator).

That’s all theory, now your case should be more understandable. You want to change animator parameter of Animator script attached to other game object. So all you need is to have of get a reference of that gameobject with Animator Component and call its GetComponent() method. You can get this reference by different ways, for example by GameObject.Find(“otherGameObjectName”) or dynamically in OnTrigger(Collider collider) method.

Thanks for the info. I think after looking a little longer it became clear that I can call the animator justlike any other script. Just wasn’t thinking!