Gimbal¶
Many engines in KSP have thrust vectoring gimbals which are handled by their own module
-
structure
Gimbal¶ Suffix Type (units) Description All suffixes of PartModuleLOCKBoolean Is the Gimbal locked in neutral position? LIMITscalar (%) Percentage of the maximum range the Gimbal is allowed to travel RANGEscalar (deg) The Gimbal’s Possible Range of movement RESPONSESPEEDscalar The Gimbal’s Possible Rate of travel PITCHANGLEscalar Current Gimbal Pitch YAWANGLEscalar Current Gimbal Yaw ROLLANGLEscalar Current Gimbal Roll
Note
Gimbal is a type of PartModule, and therefore can use all the suffixes of PartModule. Shown below are only the suffixes that are unique to Gimbal.
Gimbal can be accessed as Engine:GIMBAL atribute of Engine.
-
Gimbal:
LOCK¶ Type: Boolean Access: Get/Set Is this gimbal locked to neutral position and not responding to steering controls right now? When you set it to true it will snap the engine back to 0s for pitch, yaw and roll
-
Gimbal:
LIMIT¶ Type: scalar (%) Access: Get/Set Percentage of maximum range this gimbal is allowed to travel
-
Gimbal:
RANGE¶ Type: scalar (deg) Access: Get only The maximum extent of travel possible for the gimbal along all 3 axis (Pitch, Yaw, Roll)
-
Gimbal:
PITCHANGLE¶ Type: scalar Access: Get only The gimbals current pitch, has a range of -1 to 1. Will always be 0 when LOCK is true