www.jpct.net

jPCT-AE - a 3d engine for Android => Projects => Topic started by: claydergc on December 09, 2011, 09:00:17 pm

Title: Acceleration, Force, Mass and Velocity physics
Post by: claydergc on December 09, 2011, 09:00:17 pm
Hello,

I've been doing something to simulate some physics issues such as gravity/acceleration, force, mass and velocity, all of this based in one chapter of the book "Game Physics Engine Development".  I created 2 examples to simulate it and you can download it through the following links:

http://www.mediafire.com/?92qlo9ekdbahlf0

http://www.mediafire.com/?nafs5d2hab3k2wy

The first one is the easiest, it only has a sphere that can be shot in 4 different ways (in each shot, acceleration, mass and velocity are changed in the code). The second one is based on JPCT-AE example, but with one extra 3D model (r2d2) that is able to shoot some "bullets" changing the angle in X and Y axis, the velocity is incremented depending on the time that DPAD_CENTER button is pressed. I was thinking in programming some kind of "Gunbound" communicating 2 devices via bluetooth  ;D

I hope this can help  :)