Axis

From Kerbal Space Program Wiki
Jump to: navigation, search
All axes of a rocket
Error creating thumbnail: /bin/bash: rsvg-convert: command not found
All axes of a plane

An axis is an imaginary line around which an object can rotate. A three-dimensional object such as a spacecraft has three noteworthy axes, corresponding to each dimension of space. Rotation is produced by torque. In reality, torque is the product of a linear force and its distance from the axis. In KSP, there are four ways to produce torque, each with its own limitations and side effects:

  • "Magic torque", produced by command pods, probe bodies and reaction wheels. This is a twisting force - in any axis - applied at the location of whatever component provides it, with no other effects; it gets less effective further from the centre of mass.
  • Control surfaces in atmosphere. Each control surface can only produce torque in one axis, but (by default) the game can figure out how to map control inputs to control surface actuations to produce the requested rotation.
  • Thrust vectoring, produced by a gimbaled engine. This can't produce rotation in the axis parallel to the engine's thrust (i.e. roll), and obviously only works while the engine is firing.
  • Any linear force applied at a distance from the center of mass, at an angle away from it. This is how RCS produces torque, but any net force can produce torque this way. In particular, unevenly placed boosters and drag-producing components can lead to a net force on one side, producing torque.

The mass distribution of the craft affects how torque produces rotation. In general, the further away from the axis a mass is, the more torque is needed to move it around the axis at a particular rate. Most rockets are long and narrow; so rolling is easy, but yawing and pitching are hard. RCS enhances rotation by exploiting lever effects: the further the thrust is applied from the centre of mass, the larger the torque it produces.

By default the viewpoint of rotating is from the command module first added, so the described movements here are only the default cases. It is possible to change the viewpoint of rotation to another component. To do so right-click a part and select “Control from here”. Only command modules and docking ports support this option and it will rotate always around the center of mass, not around the selected part.

Pitch

Pitching will move the nose up or down and the tail in the other direction. The axis runs from port to starboard through the center of mass. More torque is needed to rotate long or deep craft in the pitch axis; width is irrelevant to pitch.

Roll

Roll is a rotation around the longitudinal axis from fore to aft. More torque is needed to rotate a wide or deep craft around the roll axis; length is irrelevant to roll. Most vehicles are larger in length than in either of the other dimensions, making roll the easiest rotation.

Yaw

A motion around the yaw axis results in moving the nose to the port or starboard and the tail in the other direction. The axis runs from top to bottom through the center of mass. More yaw torque is needed to rotate wide or long craft in the yaw axis; depth (i.e. size from top to bottom) is irrelevant to yaw.

Aircraft tend to be wider than they are tall and longer than they are wide. This makes rolling the easiest rotation, followed by pitching, while yaw is the hardest rotation for an aircraft. With this in mind, it is usually more effective to turn by rolling in the desired direction, then pitching up. With the right wing configuration, an aircraft in a rolled attitude is also subject to a yawing torque, which is especially efficient for slow turns.