Coding skills: Debugging
- neelvinay17
- Aug 25, 2023
- 1 min read
I didn't really have any problems up until now, which was when I started experiencing bugs with the animations, and they would either play for only a second or simply not work. After playing around with the settings for some time, I realized it was because of how the animation was set up. Rather than being set to humanoid as my character was, it was set it to the base default. This meant it did not generate an avatar, which while i have not done much research as to why it does not work, the animation does not play right. Along with that, adding in loop time for some of the animations also fixed the animation playing for some time issue. Since animations such as walking and running would often be used for a certain amount of time by the player, it needed to be set to loop, as otherwise the animation would stop playing after a second. Once those were done, I started setting restraints along the X and Y rotation. Again, I am not entirely sure as to why changing these settings makes the animations work, but from what I can see, it may be affecting the rotation of the animation itself, and so perhaps that corrects the animation in some way?




Comments