Rust Wiki

Revision Difference

Debug_Camera#522350

<cat>Dev.Cinematic</cat> <title>Debug Camera</title> <upload src="739b0/8d7b02f4995fbbb.jpg" size="238322" name="rust-wiki_debug_header.jpg" /> # Getting Started Introduction will be added here. Use the command `debugcamera` to toggle between the debug camera and player POV camera. # Transform Controls <key>W A S D</key> - Position the camera <key>MOUSE</key> - Adjust pitch and yaw of the camera (i.e. look around) <key>Q</key> - Raise camera height <key>E</key> - Lower camera height <key>Right Arrow</key> - Roll/rotate camera right or clockwise <key>Left Arrow</key> - Roll/rotate camera left or anti-clockwise <key>RIGHT MOUSE</key> + <key>MOUSE LEFT</key> / <key>MOUSE RIGHT</key> - Adjust roll/rotation of camera on the fly # Field of View <key>Z</key> or <key>+</key> - Zoom in (increase FOV amount) <key>C</key> or <key>-</key> - Zoom out (decrease FOV amount) <key>RIGHT MOUSE</key> + <key>MOUSE UP</key> / <key>MOUSE DOWN</key> - Adjust zoom (FOV amount) on the fly # Reset Camera Use the <key>R</key> key to reset the field of view and roll of the debug camera to the default state. # Speed & Lerping ## Camera Speed `debugcamera_speed <amount>` - Default value is 1. ## Lerping `debugcamera_lerp <amount>` - Default value is 1. ## Look Speed `debugcamera_lookspeed <amount>` - Default value is 1. ## Zoom Speed `debugcamera_zoomspeed <amount>` - Default value is 1. # Save Points `debugcamera_save <name>`⤶ ⤶ `debugcamera_load <name>` ⤶ ## Auto Save / Load⤶ ⤶ `debugcamera_autosave <0/1>`⤶ ⤶ `debugcamera_autoload <0/1>`⤶ Use the command `debugcamera_save <name>` to save the position, angle, fov and roll of the camera. ⤶ ⤶ Load a camera save point by using the command `debugcamera_load <name>` ⤶ **Note:** Camera save points are stored locally and can be called on any level or [demo file](/rust/Demos). Saving a camera point with the same name will overwrite the previous save state with no warning.⤶ ⤶ ## Auto Save⤶ ⤶ `debugcamera_autosave <0/1>` - Automatically save the debug camera state when toggling it⤶ ⤶ This will save / retain the position, angle, fov and roll of the camera.⤶ ⤶ ## Auto Load⤶ ⤶ `debugcamera_autoload <0/1>` - Automatically load the debug camera state when toggling it⤶ ⤶ ## Preserve⤶ ⤶ `debugcamera_preserve <0/1>` - Preserve the initial debug camera state through game restarts⤶ ## List Save Points `debugcamera_list` - Prints out all of the saved camera points; including name, position, rotation and zoom. <note>This command is currently being developed and yet to be released.</note> ## Clear Saves Use the command `debugcamera_clear` to remove all camera save points.