Don't know which commands to use on your Rust server for the debug camera? Don't worry. This guide has every available command for the debug camera and what it does.

Command

Function

Example

debugcamera Toggles debug camera mode bind p debugcamera (binds P to debugcamera toggle)
debugcamera_fov <value> Configure the zoom/FOV value debugcamera_fov 50
debugcamera_lock Enable/Disable the debug camera from being locked in place debugcamera_lock 1 /debugcamera_lock 0
camspeed <amount> Sets the movement speed of the camera. Default value is 1 camspeed 0.1
camlookspeed <amount> Sets the look speed of the camera. Default value is 1 camlookspeed 0.1 (setting to 0 will lock the camera angle and prevent mouse movement)
camzoomspeed <amount> Sets the zoom speed of the camera when using FOV controls. Default value is 1 camzoomspeed 0.1
camlerp <amount> Adds lerping (smoothing) to the movement of the debug camera. Default value is 1 Lower values will make it smoother like this: camlerp 0.1
camlerptilt <0/1> Enable disable tilt roll locomotion for low lerp values camlerptilt 0
camzoomlerp <amount> Adds lerping to the cameras zoom movement. Default value is 1 canzoomlerp 0.1
debugcamera_save <name> Saves a position,angle, roll and fov of the camera debugcamera_save example
debugcamera_savetofile <name> Save the camera state as a .cam text file debugcamera_savetofile example
debugcamera_load <name> Load a camera save point or .cam file debugcamera_load example
debugcamera_autosave <0/1> Toggles automatic debugcamera save debugcamera_autosave 1
debugcamera_autoload <0/1> Toggle the debugcamera state automatically debugcamera_autoload 1
debugcamera_preserve <0/1> Preserve the initial debug camera state through game restarts. debugcamera_preserve 1
debugcamera_clear Remove all camera save points debugcamera_clear
debugcamera_unfreeze Unfreeze player controls whilst remaining in the debug camera view debugcamera_unfreeze  (toggle to disable/enable)
bind <key> +debugcamera_targetbind Bind a key of your choosing to toggle camera parenting bind p +debugcamera_targetbind
bind <key> +debugcamera_dollyforward Move closer to an entity bind p +debugcamera_dollyforward
bind <key> +debugcamera_dollyback Move away from the entity bind p +debugcamera_dollyback
bind <key> +debugcamera_cyclebone Cycles through the targeted entity's bones bind p +debugcamera_cyclebone
cambone Returns a the targeted bone of an entity cambone
cambone <bonename> Parents debug camera to specified bone cambone head
debugcamera_bonerotation <0/1> Applies the target bone's rotation to the debug camera. Default value is 0 debugcamera_bonerotation 1
debugcamera_guide <0-4> Applies camera guide overlay debugcamera_guide 1
debugcamera_guide_aspectratio<value> Set custom aspect ratio for guide 3 debugcamera_guide_aspectratio 1 1 (square ratio)
camphysical <0/1> Enable physical camera for debug mode camphysical 1
camphysicalsensortypes Prints list of all sensor types camphysicalsensortypes
camphysicalsensor <0-11> Set debug camera to different sensor type camphysicalsensor <0-11>
camphysicalfocallength <number> Set the FOV for the debug camera, where <number> is the focal length in millimeters camphysicalfocallength 50
showcaminfo Enable UI with camera information whilst in debug camera view showcaminfo 1
debugcamera_shake <amplitude> <frequency> <duration> Starts a camera shake according to set values debugcamera_shake 1 1 1
debugcamera_stopshake Stops camera shake debugcamera_stopshake

 

Check out also:

  • Debug Camera Guide here
  • Debug Camera Cinematics list here


For any more assistance, feel free to contact us on Discord or the Website.

Our custom panel has a wide variety of exclusive features that make editing and managing game servers a breeze.
All game servers come with powerful hardware and a dedicated team of support members to help you build the servers exactly the way you want.
Start your Rust server hosting journey today with Pine Hosting!

Was this answer helpful? 0 Users Found This Useful (0 Votes)