pmndrs / racing-game

🏎 Open source racing game developed by everyone willing
https://racing.pmnd.rs/
MIT License
2.13k stars 176 forks source link

Heightmap collision effect is not accurate #121

Open Gusted opened 3 years ago

Gusted commented 3 years ago

Describe the bug When you drive of the supposed road, you will be either have a slight bump and seems realistic or you car will be going instead of down on the lower height of the road it will go upwards and roll your vehicle over.

To Reproduce Steps to reproduce the behavior:

  1. try speedrun strategy
  2. Ride the vechile
  3. Go with some speed off the road.

Expected behavior The car shouldn't roll over but instead go onto the lower side of the road.

Screenshots See the last 2 attempts to reproduce this problem:

https://user-images.githubusercontent.com/25481501/121784041-24a68c80-cba1-11eb-8bbb-43cfb52e2644.mp4

Desktop (please complete the following information):

Gusted commented 3 years ago

@drcmda - Pining you as this is most likely got caused with the heightmap Commit to make it more accurate.

drcmda commented 3 years ago

the problem is with the original track, the road is as high as the car itself. and lowering it wont work because the dirt track isn't even. a height difference that's too low will also not be reflected in the height map. but something needs to be done for sure. at least with the new one you cant cheat. :-P

Gusted commented 3 years ago

at least with the new one you cant cheat. :-P

This is what you call effective anti-cheat ;)

wuharvey commented 3 years ago

Can we add extra friction off the track instead?

drcmda commented 3 years ago

not so easy with just a single heightmap i think

Gusted commented 3 years ago

The more problem is that how the car is behaving on these heightmaps. As I can't even normally ride over the train track and instead have to use the ramp. The behavior of this flippings & Rolling etc. Is not really in sync from what should happen.

Gusted commented 3 years ago

The train track issue:

https://user-images.githubusercontent.com/25481501/121807457-bf57a780-cc43-11eb-8bde-77c183e8cfde.mp4

drcmda commented 3 years ago

that would be expected i think, these are train tracks after all :-D