New Piggy Controls - Fixed the turning on hills bug

Channel:
Subscribers:
1,440
Published on ● Video Link: https://www.youtube.com/watch?v=2ZtxuUW3Lks



Duration: 1:24
13 views
0


So based on some user feedback I made the pig more controllable with the A+D keys or the gamepad stick so you can steer it rather than turn 90 degrees. In the process I also added a new rotation controller using raycasts and normal finding to align the pig to steep surfaces and eliminated the turning on hills = death bug. Don't ask me how I got the pig to face up hill before. It was bad.







Tags:
gamedev
badgerheadgames
unity