Rotating a molecular fragment can be deceptively fiddly. A drag that looks right in the viewport may move the wrong atoms, turn the molecule around an inconvenient axis, or leave you adjusting the angle by eye. When the task is to change a dihedral angle, the key is to work on the bond itself and make sure you are rotating the intended fragment.
In SAMSON, the Local Move editor offers a direct way to do this. It can translate and rotate selected objects along their principal axes, and it has a specific interaction for editing dihedral angles.
Start with the fragment, not the whole molecule
First, select the part of the molecule you want to move. If you select the entire molecule, the editor will move the whole selection; for a torsion adjustment, select the group of atoms on one side of the bond instead. The rectangle selection editor can help when you need to select a group of atoms.
Activate the Local Move editor with the M shortcut. Its axes are based on the principal axes of the selected objects, which makes it useful when you want to manipulate a fragment in its own local frame rather than along the global X, Y, and Z directions.

Use the bond to choose what rotates
To edit a dihedral angle, click on the half of the bond corresponding to the fragment you want to rotate. A widget appears for editing the angle. This interaction helps make the rotation’s intent explicit: choose the bond half attached to the moving fragment, rather than dragging an unrelated axis and trying to judge the result visually.
That choice matters in practical modeling. Before rotating, check which atoms are selected and which side of the bond you intend to move. If the wrong fragment responds, undo and refine the selection before trying again.
Make the adjustment, then check it
For more general rotations, the Local Move editor provides curved side widgets for rotating around the selected objects’ principal axes, as well as a trackball for free rotation. The side widgets are useful when you know the axis you want; the trackball is better for an unconstrained orientation change. For a bond-centered torsion, use the bond-specific dihedral interaction instead.
You can enable rotational snapping from the editor’s quick-access menu in the viewport. For example, setting rotational snapping to 10° makes rotations snap to that increment. Snapping can make repeated or incremental adjustments easier to compare, while leaving it off is useful when you want to make a finer visual adjustment. The available snapping preferences can also be changed in Preferences under Interface > Preferences > Editors > Snapping.
For precise translation or rotation parameters, right-click a move-editor widget, or use Ctrl/Cmd and left-click on a widget. The move can also be canceled while dragging by pressing Esc; releasing the mouse applies the displacement. If you have already applied a move and want to restore the previous state, use Edit > Undo.
Local or global axes?
The Local Move editor follows the selected objects’ principal axes. If you instead need a rotation or translation along the fixed global XYZ frame, use the Global Move editor (K). Its colored widgets correspond to global X (red), Y (green), and Z (blue). Keeping this distinction in mind helps avoid a common source of confusion: a local axis follows the selected structure’s orientation, while a global axis refers to the scene’s reference frame.
A useful routine is simple: select the intended fragment, activate the Local Move editor, choose the correct half of the bond, adjust the dihedral, and inspect the result. Use snapping when consistent angle increments are helpful, and undo or cancel if the wrong atoms move.
For more details on moving, aligning, and distributing objects in SAMSON, see the Moving objects documentation.
Note: SAMSON and all SAMSON Extensions are free for non-commercial use. Get SAMSON.
