I know I can call an animator's update manually, but I cannot stop it from being updated by unity automatically. In result, if I update it manually, it's getting updated twice.
I tried usingSetTimeUpdateMode(UnityEngine.Experimental.Director.DirectorUpdateMode.Manual);But this doesn't seem to work for me, I'm on Unity 5.3.4f1.
Unfortunately Animator.updateMode doesn't have an option to set the update mode to manual.
I'm having the same problem with DirectorUpdateMode.Manual
You can use Animator.SetTimeUpdateMode to set the mode to manual. However I do not know how to use this PlayerController.Tick they mentioned. I cannot seem to find it.
Answer by winxalex
Mar 18 at 04:38 PM
delta time is newTime-currentTime (I think it was normalized)
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
6 People are following this question.
2D Animation does not start
How to resume animation where it left off?
Stop Animation State in Animator from Speeding Up after Playing it a Second Time?
How to synchronize animation in Unity4.x
Copy the exact "state" of an Animator / RuntimeAnimatorControler to another Object