update thruster table for better thrust direction support
This commit is contained in:
83
docs.md
83
docs.md
@@ -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
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user