Complete Guide to All Rust Debug Camera Commands

The debug camera in Rust is a free-flying camera that allows you to explore the map, follow entities, and record cinematic shots. Below is the complete set of commands, categorized for easier reference.

Camera Mode

debugcamera → Toggles debug camera mode → on/off.

debugcamera_fov <value> → Sets the zoom / field of view → decimal value (default 60).

debugcamera_lock <0/1> → Locks or unlocks the camera in place → 0 = unlock, 1 = lock.


Camera Movement

camspeed <amount> → Adjusts movement speed of the camera → decimal number (default 1).

camlookspeed <amount> → Adjusts the speed at which the camera looks around → decimal number (default 1).

camzoomspeed <amount> → Sets zoom speed for FOV controls → decimal number (default 1).

camlerp <amount> → Adds smoothing to camera movement → decimal number (default 1).

camlerptilt <0/1> → Enables/disables tilt roll during smooth movement → 0 = disable, 1 = enable.

camzoomlerp → Adds smoothing to zoom movement → decimal number (default 1).


Camera Saving and Loading

debugcamera_save <name> → Saves current camera position, angle, and FOV → string name.

debugcamera_savetofile <name> → Saves camera state to a .cam file → string name.

debugcamera_load <name> → Loads a saved camera position or .cam file → string name.

debugcamera_autosave <0/1> → Enables/disables automatic saving → 0 = off, 1 = on.

debugcamera_autoload <0/1> → Automatically load previous camera state → 0 = off, 1 = on.

debugcamera_preserve <0/1> → Preserve camera state through game restarts → 0 = off, 1 = on.

debugcamera_clear → Removes all saved camera points.


Player Control

debugcamera_unfreeze → Unfreezes player controls while in debug camera → toggle on/off.


Camera Targeting

bind <key> +debugcamera_targetbind → Binds a key to toggle camera parenting → key of your choice.

bind <key> +debugcamera_dollyforward → Move camera closer to targeted entity → key of your choice.

bind <key> +debugcamera_dollyback → Move camera away from targeted entity → key of your choice.

bind <key> +debugcamera_cyclebone → Cycle through bones of targeted entity → key of your choice.

cambone → Returns the currently targeted bone.

cambone <bonename> → Parents camera to a specific bone → string name.

debugcamera_bonerotation <0/1> → Apply targeted bone rotation → 0 = off, 1 = on.


Camera Guides and Overlays

debugcamera_guide <0-4> → Activates a camera guide overlay → 0–4.

debugcamera_guide_aspectratio <value> → Sets aspect ratio for guide overlay → decimal value.


Physical Camera

camphysical <0/1> → Enable physical camera mode → 0 = off, 1 = on.

camphysicalsensortypes → Lists all available sensor types.

camphysicalsensor <0-11> → Set sensor type → 0–11.

camphysicalfocallength <number> → Adjust focal length in mm → positive integer.


Debug Camera Effects

showcaminfo → Displays UI with camera information → 0 = off, 1 = on.

debugcamera_shake <amplitude> -frequency> -duration> → Creates camera shake → decimal values for each.

debugcamera_stopshake → Stops active camera shake.

Rust Server Hosting

Starts at $11.99

External link icon

Was this article helpful?
Please Share Your Feedback
How Can We Improve This Article?
Table of Contents