[Suggestion] swap out isFront/RearWheelDrive booleans
Ilya-torshov opened this issue ยท 4 comments
Replace the old system with a boolean on the part slot instead
"isDrive": True/False
For instance.
Nothing super nessecary for now but I think it'd be useful overall
certainly. Instead of
{
"motorized": {
"isFrontWheelDrive": true,
"isRearWheelDrive": true,
"emptyMass": 11000,
"fuelCapacity": 30000,
"axleRatio": 4.0,
"brakingFactor": 1.0,
"dragCoefficient": 0.75
},
"parts": [
{
"pos": [-1.0,0.45,-1.91884],
"turnsWithSteer": true,
"maxValue": 1.5,
"types": ["ground_wheel"]
},
{
"pos": [1.0,0.45,-1.91884],
"turnsWithSteer": true,
"maxValue": 1.5,
"types": ["ground_wheel"]
},
{
"pos": [-1.0,0.45,1.91884],
"maxValue": 1.5,
"types": ["ground_wheel"]
},
{
"pos": [1.0,0.45,1.91884],
"maxValue": 1.5,
"types": ["ground_wheel"]
},
that is replaced with something like this
{
"motorized": {
"emptyMass": 11000,
"fuelCapacity": 30000,
"axleRatio": 4.0,
"brakingFactor": 1.0,
"dragCoefficient": 0.75
},
"parts": [
{
"pos": [-1.0,0.45,-1.91884],
"turnsWithSteer": true,
"maxValue": 1.5,
"types": ["ground_wheel"]
},
{
"pos": [1.0,0.45,-1.91884],
"turnsWithSteer": true,
"maxValue": 1.5,
"types": ["ground_wheel"]
},
{
"pos": [-1.0,0.45,1.91884],
"maxValue": 1.5,
"isDrive": true,
"types": ["ground_wheel"]
},
{
"pos": [1.0,0.45,1.91884],
"maxValue": 1.5,
"isDrive": true,
"types": ["ground_wheel"]
},