top of page
Search
pc6341

Peng PPJ 8

Total Hours Worked: 6 hours


For this week, my task is to implement the finite state machine of our game. Even though I have experience with FSM before but this was still a new experience for me because I have not dealt with 3D animations before.


The implementation of the state machine did not take long but I accidentally unpacked the prefab during my implementation. This caused all the existing functionality to fail and I have to go back and assign all of the variables that we have ever created. This literally took me forever and it was really frustrating to get everything back to normal.


The character can now change the animation base upon the following condition:

- when the player click w then the state of the player is forward and the forward animation will trigger

- when the player click s then the state of the player is backward and the backward animation will trigger

- when the magnitude of the player's velocity is less than 2 then the player will return to idle






5 views0 comments

Recent Posts

See All

Week 8 PPJ

This week was a mix between trying to make my own sounds and failing miserably and continuing different vfx ideas. starting with the...

Final PPJ

Comments


bottom of page