Implement SnowBoarder's Spin checking

Hello, friends!

I implemented snow boarder’s spin checking.

https://github.com/ShinJaehun/SnowBoarderUnity/blob/master/Assets/Scripts/PlayerController.cs

If you success to spin, it trigger to particle and sound effects at the same time. As you can see, there are many comments. Unity’s property has not been working as I thought. So I had to refer to some Stackoverflow pages.

https://stackoverflow.com/questions/71211677/how-to-calculate-a-full-spin-of-a-player-in-unity

https://stackoverflow.com/questions/72134086/count-rotations-in-unity-2d-game

Privacy & Terms