When a molecular system moves, it is easy for the part you are studying to drift out of view. You can pause and reposition the camera, but repeated adjustments interrupt the visual story—and make it harder to compare what happens across an animation. In SAMSON, the Follow atoms animation keeps the camera centered on a selected group as that group moves.

What the animation follows
Follow atoms uses the atoms selected when you create the animation. As those atoms move, the camera target moves with their geometric center. The camera position moves as well, preserving the distance between the camera and the target. In practical terms, the selected region stays framed while its position changes in the model.
This is useful when you want to inspect a moving part of a larger system—for example, while animating a trajectory. Instead of trying to keep the region centered by hand, you can let the animation carry the view along with it.
Set up the view before adding the effect
- Select the atoms you want the camera to follow.
- Orient the view and position the camera as you want it to appear at the start.
- Choose the start frame in the Animator’s Track view.
- Double-click Follow atoms in the Animator’s Animation panel.
- Set the end frame to cover the portion of the motion you want to show.
The camera’s current position is used at the start frame. At the end, the camera moves along with the specified atom system while keeping the camera-to-target vector constant. The target itself tracks the geometric center of the selected atoms. You can move the animation’s start and end frames later if you need to change its timing.
A useful way to think about framing
Choose the selection to match the subject of your animation. If the goal is to keep one region in view, select the atoms that define that region rather than relying on the center of the entire molecular system. Because the target is tied to the selection’s geometric center, the group you choose determines what the camera follows.
It also helps to settle the starting camera view before creating the effect: that starting position establishes the initial framing, and the animation carries the camera from there. If you need to refine the camera position, use the animation controllers. The target remains at the geometric center of the specified atoms, so adjusting the camera position does not redefine which point is being followed.
Check the camera options
By default, camera animations apply to the active camera. If you need to change this, inspect the animation and adjust Apply to active camera. The animation’s target point is defined from the active camera’s current target position, which is essentially the center of the view.
Camera positioning can also behave differently depending on whether the grid is on or off. Inspect Keep camera upwards to control this behavior: when the option is checked, the behavior depends on whether the grid is enabled. If the view does not behave as expected, these camera settings are worth checking before changing the animation itself.
For the complete instructions and related camera-position guidance, see the Follow atoms documentation.
Note: SAMSON and all SAMSON Extensions are free for non-commercial use. Get SAMSON.
