- Home /
how to stop/disable animation/animator on trigger in another gameobject?
is there anyway i can stop/disable the animator on trigger without resetting the frame? i tried using MyCameraAnimation.gameObject.SetActive(false);
but it didnt work and just gave me an error MissingComponentException because the animator is in another gameobject (the camera) not in the gameobject where the script suppose to disable it in (and yes i already have the Get.Component();
in the start method but it just gave me that error)
Your answer
Follow this Question
Related Questions
Getting Camera to follow falling Dominoes 1 Answer
"Empty" Animator transition is overriding other trigger based transition 1 Answer
Projecting what the camera sees onto a plane 1 Answer
Switching Several Cameras(HorrorGame) 1 Answer
I need animate arms with script when I rotate my character like in Escape of Tarkov 0 Answers