I am right now developing this type of game. https://itunes.apple.com/us/app/bike-race-free-by-top-free/id510461758?mt=8
I need help for following questions. I have some solutions for this but I need experts review for this.
- when bike rotate in the air then how to calculate flip?
- What is the proper way to accelerate and brake the bike? My own suggestion : On touch of accelerate button I apply enable motor true and on touch up I apply angular damping of 0.5 so it looks real one and stop after some time. On touch of brake button I apply linear damping of 10 so it suddenly stop.
- How to move up and down front and rear wheel? My own suggestion : I use accelerometer listener and apply small amount to chassis body of the bike.
How to move camera with bike? I want only x direction change. My own suggestion : I create dummy object that move along with bike.
Also I miss something then please add more content in this post. Because I want it become useful to other lots of other users.