3
\$\begingroup\$

I created a animation Controller and attached it to the Animator component of my main camera. My Animation Controller looks like this:

Animation Controller

I am building a Main Menue. If the user presses on the buttons, then the camera is animated to different places in the world.

Each transition is linked with a condition, e.g. the Transition going from CameraIdle to ToLoadscreen has a condition called GoToLoadscreen which is a boolean parameter, the camera is only getting animated to the Loadscreen, if its value is true.

However, the transition is only starting after the current animation CameraIdle finished playing, as you can see in the next picture, CameraIdle is still getting played even though the parameter GoToLoadscreen is set to true.

Animation Controller 2

How can I force the transition?

\$\endgroup\$
3
\$\begingroup\$

You can force the transition to immediately happen, by clicking on the transition and unchecking Has Exit Time.

Has Exit Time

Now the transition is immediately forced and you don't have to wait until the current animation CameraIdle is finished.

\$\endgroup\$
  • \$\begingroup\$ This helps, but still there are some frames present, the transition is not instant \$\endgroup\$ – DataGreed Apr 27 at 18:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.