Difference in the way it handle jumps with original game
tigrouind opened this issue · comments
Please take a look at this video :
Wipeout.mp4
Original: reduced thrust after the jump (despite the fact that I kept pressing the X button)
Rewriting: no reduction in thrust, the ship crashes into the mountain.
I just discovered this rewrite and after playing it in the browser, the jumps immediately stood out as handling wrong (i still play the original PSX version to this day) just as you've shown in your video. It mostly affects the Rapier class.
The ships are also front heavy in either class, so after a jump the ships nose will start to point downwards into the ground, so you crash. Even a small jump will now cause the ships nose to scrape the floor, where this did not happen before.
Here's an example on the first track:
jump.mp4
That took some investigating!
The original game calculates the distance to the nearest track section by largely ignoring the .y component (height) of the ship. This got lost in the rewrite and the SHIP_FLYING
physics were used even when the ship was directly above the track. Above commit fixes this.