Hi, Physics is far from me... I don't remember anything !
Haypo, I had no time to patch the grenade, sorry !! Since I have no internet connexion during hollydays (except at my friends home), it would be quite difficult now...
The "alleluia" sound SHOULD be changed before making a new release ;-) There is also a problem which must be smaller (I don't understand why it doesn't) !
I have try to make a new weapon, a uzi, but we have to release the fire key between each bullet is fired...
Bye Matt Victor STINNER a écrit :
Hi, I really not love current physical engine. For me, gravity is : y = y0 +G*dt^2 with y0 = initial position dt = delta t But current code is something like : y = y0 +G*dt0 +G*dt1 + G*... with dti = delta t between two computations Another problem is that gravity is computed if objects don't move :-/ My problem was that character who go in water (because water goes up) have speed like (0, 100) while they aren't moving :-/ Is it possible to come back to last computations system ? x = x0 +speed_x*t +acceleration_x*dt^2 y = y0 +speed_y*t +acceleration_y*dt^2 Or someone knows a better physical engine ? Who support for example ice ? Bye, Haypo