This component implements physics-based flight control with motion similar to that of a fighter jet (or starfighter). ’Thrust’ indicates how much power the engines have in each axis, except that W represents the negative Z axis (so that you can have a different speed in reverse). It takes horizontal & vertical axis inputs to apply forward/reverse and strafe thrust, and keys can be configured to roll the craft. This component works well with the AirBrakes component.
float constantThrustHow much constant forward thrust should be applied?
Default value: 0.0f
KeyCode upThrustersKey for activating elevators
Default value: KeyCode.Space
KeyCode downThrustersKey for activating down thrusters
Default value: KeyCode.LeftShift
float pitchTorqueHow hard should we pitch?
Default value: 60.0f
float yawTorqueHow hard should we yaw?
Default value: 60.0f
float rudderTorqueHow much force is applied by the rudder?
Default value: 240.0f
KeyCode pitchCCWKey for pitching counter-clockwise
Default value: KeyCode.Q
KeyCode pitchCWKey for pitching clockwise
Default value: KeyCode.E
float constantThrustHow much constant forward thrust should be applied?
Default value: 0.0f
KeyCode upThrustersKey for activating elevators
Default value: KeyCode.Space
KeyCode downThrustersKey for activating down thrusters
Default value: KeyCode.LeftShift
float pitchTorqueHow hard should we pitch?
Default value: 60.0f
float yawTorqueHow hard should we yaw?
Default value: 60.0f
float rudderTorqueHow much force is applied by the rudder?
Default value: 240.0f
KeyCode pitchCCWKey for pitching counter-clockwise
Default value: KeyCode.Q
KeyCode pitchCWKey for pitching clockwise
Default value: KeyCode.E