   Moving over a terrain.
  Hi friends!I'm trying to code a little bmx game, and I'm having some problems with the "terrain interaction" part. I want to make a bike that be able to move over a irregular terrain and over ramps, and this kind of things...I was trying to code, but the result was not that good, actually it was very bad. Sometimes the bike was going in the terrain and sometimes it was floating on the sky.I was looking for some text that can show some information about this kind of problem.Thanks in advance!Regards,John.   
  All you need to do is figure out the plane that each tire is on at the time, figure out the height using known vertices and the equation for a plane, and update the position. This will cause the tires to stick to the terrain. If you want physics with jumping and everything, I'd suggest just looking at Newton Dynamics. It didn't take me long at all to start getting physical interaction with it.Hopefully something I said helped [smile].   ;  My problem is that I'm doing this with J2ME, I can't use that engine.But thank you for the answer!   