Technological advancements in mobile computing have affected our life and business as well. Now we expect from our mobile devices(phones, tablets) high quality communication, entertainment, education, gaming and much more.
These days technological advancements have made our mobile device much powerful that the desktop computer we were using 10 years back. Now we have more processing power, graphics processing power, much higher capacity RAM’s in our devices which has opened avenues for the high end computing on our small handheld devices. In this gaming comes very first. Every gamer needs the best in terms of quality and technology. Simulation for the real world is always more catchy and interesting in gaming. I am talking about 3D world simulation. If it is added by the physics simulation in 3D it adds value and interest in the game for gamer. In this article I am going to talk about 3D physics simulation only.
It is always been a hard part to implement the physics laws in the game logic. And to overcome this problem and to get it done easily we have BulletPhysics physics engine. There are so many physics engines available in market most of them are not for mobile platform or propitiatory. The best part of the BulletPhysics is, it is free and open source community project. Enthusiasts and professional developer can use it to add physics to their games.
When someone decides to use this on any mobile platform, the biggest hurdle comes in the way is porting the engine to that platform. As we all know Android is gaining huge acceptance in the market and has a big slice of market pie. I decided to port BulletPhysics to Android. You can download the HelloWord of BulletPhyics ported on android. Right now it doesn’t have the GUI but soon in my next post I would post demos on this. You can download and run this by just importing it to you eclipse IDE. The source you can download from the link mentioned below. The output would come on logcat.
Hope you would find this interesting and for more detailed documentation you can refer the http://bulletphysics.org/.
Checkout code: https://github.com/manoj-chauhan/AndroBullet