update thruster table for better thrust direction support

This commit is contained in:
2026-06-28 10:53:15 -05:00
parent 0c42fdaa8e
commit 38e2e36e25

83
docs.md
View File

@@ -283,3 +283,86 @@ SensorData = {
}
}
```
The member variables of the Thruster table are as follows (using some example thrusters):
```lua
Thrusters = {
gyroscopic_propeller_bearing_0 = {
type = "rotator",
name = "gyroscopic_propeller_bearing_0",
thruster = nil,
transmission = nil,
affectVectors = {
lateral = {
yaw = nil,
pitch = "up",
roll = "star",
},
angular = {
x = nil,
y = "up",
z = nil
}
},
power = nil
},
gyroscopic_propeller_bearing_1 = {
type = "rotator",
name = "gyroscopic_propeller_bearing_1",
thruster = nil,
transmission = nil,
affectVectors = {
lateral = {
yaw = nil,
pitch = "up",
roll = "port",
},
angular = {
x = nil,
y = "up",
z = nil
}
},
power = nil
},
gyroscopic_propeller_bearing_2 = {
type = "rotator",
name = "gyroscopic_propeller_bearing_2",
thruster = nil,
transmission = nil,
affectVectors = {
lateral = {
yaw = nil,
pitch = "down",
roll = "port",
},
angular = {
x = nil,
y = "up",
z = nil
}
},
power = nil
},
gyroscopic_propeller_bearing_3 = {
type = "rotator",
name = "gyroscopic_propeller_bearing_3",
thruster = nil,
transmission = nil,
affectVectors = {
lateral = {
yaw = nil,
pitch = "down",
roll = "star",
},
angular = {
x = nil,
y = "up",
z = nil
}
},
power = nil
}
}
```