Skip to main content
added 147 characters in body
Source Link
Arian_ki
  • 691
  • 5
  • 25

So for those who have the same question, I've found what needs to be modified: On the animator Component, there is a drop-down menu named "Update Mode" which has three options:

  • Normal (in-sync with Update method)
  • Animate Physics (in-sync with FixedUpdate method)
  • Unscaled Time (in-sync with Update method, but uses unscaled time)

Use the third one if you have the same problem as me. Also here's a picture from unity's documentation about the animator component:

Animator Component

EDIT: I don't know why is this happening but in my case I set Time.timeScale to 0.01f instead of 0 and then everything worked as I excepted

So for those who have the same question, I've found what needs to be modified: On the animator Component, there is a drop-down menu named "Update Mode" which has three options:

  • Normal (in-sync with Update method)
  • Animate Physics (in-sync with FixedUpdate method)
  • Unscaled Time (in-sync with Update method, but uses unscaled time)

Use the third one if you have the same problem as me. Also here's a picture from unity's documentation about the animator component:

Animator Component

So for those who have the same question, I've found what needs to be modified: On the animator Component, there is a drop-down menu named "Update Mode" which has three options:

  • Normal (in-sync with Update method)
  • Animate Physics (in-sync with FixedUpdate method)
  • Unscaled Time (in-sync with Update method, but uses unscaled time)

Use the third one if you have the same problem as me. Also here's a picture from unity's documentation about the animator component:

Animator Component

EDIT: I don't know why is this happening but in my case I set Time.timeScale to 0.01f instead of 0 and then everything worked as I excepted

Source Link
Arian_ki
  • 691
  • 5
  • 25

So for those who have the same question, I've found what needs to be modified: On the animator Component, there is a drop-down menu named "Update Mode" which has three options:

  • Normal (in-sync with Update method)
  • Animate Physics (in-sync with FixedUpdate method)
  • Unscaled Time (in-sync with Update method, but uses unscaled time)

Use the third one if you have the same problem as me. Also here's a picture from unity's documentation about the animator component:

Animator Component