Describe the bug
i saved my game at storage units wanted to rush to the refugee center and go with my vehicle and ram everything into my way when i accedently rammed into a small column which broke my entire vehicle with me and my NPC still alive and in the same position before it broke apart
To Reproduce
Steps to reproduce the behavior:
Expected behavior
should stop since i am moving with a safe "extra" speed probably even ramm me outside without breaking vehicle
Screenshots
ZIP of save
Carboomwaitwhat.zip
1
2
3
4
Versions and configuration(please complete the following information):
Additional context
My RV speed might be between (32 - 48)
i dont know what happened so someone help
My guess is that your kernel frame(the part that everyother parts is connected to) got destroyed and all other parts are considered as unconnected thus get destroyed by ludicrous amount of damage too.
If the frame at 0,0 is destroyed, it shifts the vehicle to place the 0,0 frame at a valid location.
It might be possible to make origin selection smarter, e.g. move it as close to vehicle center of mass as possible.
It doesn't necessarily have to be the entire vehicle. Occasionally a crash at low (>40mph) speeds will cause entire single tiles in the front row to disintegrate while the rest of the car suffers no damage. It's very hard to reproduce but since this is a similar issue I thought to leave it here.
I feel like the cure is worse than the disease here. Fixing an exploit that requires you to actively try to use and abuse it by replacing it with code that could cause your entire vehicle to spontaneously explode into shrapnel if you're not careful was maybe not the best thought-out plan?
Did a little testing about this. If you want to shred a car quickly, leave it driving against a pillar of the kind you find at gas stations. That seems to shred cars.
Did some real science on this issue. I set up this test with the map editor:

From left to right, we have standard cars lined up against a small column, guard rail, willow tree, and concrete wall tile.
The test consisted of the following:
Setup:
Removed all items from all cars.
Closed all doors on all cars before driving.

Car 1: Absolutely shredded
Car 2: Beat the guard rail and drove off
Car 3: Didn't beat the tree, but not nearly as damaged
Car 4: Similar to Car 3.
My conclusion is that there's something special about that terrain type that makes it especially damaging to vehicles. That said, it doesn't explain why the constructed vehicle's origin point didn't shift properly, but it does explain what did the damage.