Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Animation Sample Rate doesnt really effect the FPS of the animation

Discussion in 'Animation' started by DanWef, Nov 17, 2020.

  1. DanWef

    DanWef

    Joined:
    Jun 4, 2020
    Posts:
    27
    Hi! I have an animation that must run at 10FPS, so I set the sample rate in unity to 10. Animation speed is set to 1. I have a soundfile that plays via animation event exactly at the beginning of the animation. The length of the soundfile is exact the same of the animation if it would run at 10FPS. But the problem now is, the animation is faster than the sound. How can I set the animation to exact 10 FPS?

    Btw: I reverse-engineer an old game with the unity engine. And in the orignal game the animation runs with 10FPS and the sound is perfectly synced. This i why I defentily know that in my new version in unity the animation runs to fast.

    Thx
     
  2. DanWef

    DanWef

    Joined:
    Jun 4, 2020
    Posts:
    27
    I found the problem -.- I was stupid :D My animation had a exit time and was overlayed by the following one. So it didnt play 100%