Use the left & right arrows to move the bike around, up & down the slope :D If you have any suggestions please leave them in the comments, I have a lot to improve and any new ideas would be great! 〠
I tried to get the frame to match the positions of the wheels and it kind of worked. I averaged out the direction the frame needs to point in the direction of each wheel, then averaged the x and y positions of both the wheels to get the direction & position of the frame. The wheels pay attention to the terrain and will follow the slope. Don't blame me if it's bad, I spent less than an hour making this :)