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
-- 
Victor STINNER, étudiant à l'UTBM
http://www.wormux.org/fr/ : Jeu libre dont je participe au développement


Répondre à