Teardown-Issue-Tracker-Maintainers / Teardown-Issue-Tracker

A public repo for the community to track issues/bugs/feature requests in Teardown.
12 stars 5 forks source link

[Feature] Allows vehicle body to not use predefined CoM but calculate dynamically #157

Open Please-Pick-a-Name opened 2 years ago

Please-Pick-a-Name commented 2 years ago

Is your feature request related to a problem (if not, explain why you think this feature should be added)? Please describe.

This should allow multi-body vehicle to react more realistic when encounter mass destructions, eg when the arm of a vehicle fall off and lost its majority voxels, its center of mass should shift into the remaining voxels of the arm instead of staying at the far outside of the voxels

Describe the solution you'd like

just a body tag to tell the game to give all the fancy features of the vehicle body but do NOT predefine center of mass, cause shifting a predefined CoM might be painful, so might aswell just calculate dynamically from the start, like how normal body works already (might also allow predefine CoM for normal aswell along the way)

Describe alternatives you've considered

prop=true, losts all the fancy feature of a normal vehicle body like lights, etc

Additional context

No response

Please-Pick-a-Name commented 2 years ago

maybe not a tag, could be also be a body property

YuLun-bili commented 2 years ago

I think that's also related to steerassist and antiroll as well so maybe not that easy

tuxedolabs commented 2 years ago

It's interesting idea, I'll save it for later. I think it would be almost undrivable, since they always become top-heavy, but it could maybe be counteracted with antiroll.