No slash command · from Summer Engine
Adds and configures 2D/3D camera rigs in Godot: Camera2D follow with limits, first-person head, SpringArm3D third-person, top-down, and FOV adjustments.
Ships in Summer Engine. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Each viewport selects its own game camera. The first Camera3D in a viewport
becomes current automatically. Call make_current() on a different camera to
switch views. A split-screen game or minimap can have a current camera in each
viewport.
2D content also draws with the viewport's default canvas transform when there
is no Camera2D. An enabled camera can take control of that transform. With
several enabled cameras, use make_current() to choose the view.
Trigger phrases: "black screen on play", "camera shows past the level edge", "jerky follow", "wrong FOV", "I need a top-down / isometric / orbit camera".
Ops use engine variant strings ("Vector3(0, 5, 10)"), never JSON objects
({x: 0, y: 5, z: 10} fails). Every mutation names its scene: pass the exact
scenePath (e.g. res://main.tscn). One summer_batch per rig saves the scene
once; the examples below use it.
Add the Camera2D as a CHILD of the player so it follows for free, then smooth
it and clamp it to the level.
summer_batch(scenePath="res://main.tscn", ops=[
{"op": "AddNode", "parent": "./Player", "type": "Camera2D", "name": "Camera"},
{"op": "SetProp", "path": "./Player/Camera", "key": "position_smoothing_enabled", "value": true},
{"op": "SetProp", "path": "./Player/Camera", "key": "position_smoothing_speed", "value": 6.0},
{"op": "SetProp", "path": "./Player/Camera", "key": "limit_left", "value": 0},
{"op": "SetProp", "path": "./Player/Camera", "key": "limit_right", "value": 1920},
{"op": "SetProp", "path": "./Player/Camera", "key": "limit_top", "value": 0},
{"op": "SetProp", "path": "./Player/Camera", "key": "limit_bottom", "value": 1080}
])
limit_smoothing_enabled = true avoids a hard stop at the edge.Vector2(2, 2) zooms IN (bigger), Vector2(0.5, 0.5) zooms OUT (top-down).Same as above minus the platformer edge-lock urgency. Zoom out to show the field
(Vector2(0.5, 0.5)). Keep it centered on the player; no vertical bias.
Camera is a child of a Head node on the player. Body yaws, Head pitches. See
the character-movement skill (its 3D movement reference: summer_docs_read id skill/character-movement/references/movement-3d.md) or
fps-controller for the look script. FOV 70-75, near 0.05.
summer_batch(scenePath="res://main.tscn", ops=[
{"op": "AddNode", "parent": "./Player/Head", "type": "Camera3D", "name": "Camera"},
{"op": "SetProp", "path": "./Player/Head/Camera", "key": "fov", "value": 72.0},
{"op": "SetProp", "path": "./Player/Head/Camera", "key": "near", "value": 0.05},
{"op": "SetProp", "path": "./Player/Head/Camera", "key": "current", "value": true}
])
The SpringArm3D pushes the camera in when a wall is behind the player, so it
never clips through geometry. This is the correct third-person rig - do not just
park a Camera3D behind the player.
summer_batch(scenePath="res://main.tscn", ops=[
{"op": "AddNode", "parent": "./Player", "type": "SpringArm3D", "name": "SpringArm"},
{"op": "SetProp", "path": "./Player/SpringArm", "key": "position", "value": "Vector3(0, 2, 0)"},
{"op": "SetProp", "path": "./Player/SpringArm", "key": "spring_length", "value": 4.5},
{"op": "SetProp", "path": "./Player/SpringArm", "key": "collision_mask", "value": 2},
{"op": "AddNode", "parent": "./Player/SpringArm", "type": "Camera3D", "name": "Camera"},
{"op": "SetProp", "path": "./Player/SpringArm/Camera", "key": "current", "value": true}
])
Set collision_mask to the LEVEL layer only. If it includes the player layer the
arm collapses to length 0 and you see inside the character (a controller script
can also call add_excluded_object(get_rid()) on the arm).
summer_batch(scenePath="res://main.tscn", ops=[
{"op": "SetProp", "path": "./Camera", "key": "projection", "value": 1},
{"op": "SetProp", "path": "./Camera", "key": "size", "value": 20.0},
{"op": "SetProp", "path": "./Camera", "key": "position", "value": "Vector3(0, 20, 0)"},
{"op": "SetProp", "path": "./Camera", "key": "rotation_degrees", "value": "Vector3(-90, 0, 0)"}
])
With the camera's default Keep Height, this shows 20 metres vertically and centres the view on the origin. For an isometric view of the same point, move the camera around the target as you tilt it. Apply these two changes to the orthographic camera above.
summer_batch(scenePath="res://main.tscn", ops=[
{"op": "SetProp", "path": "./Camera", "key": "position", "value": "Vector3(12.24745, 10, 12.24745)"},
{"op": "SetProp", "path": "./Camera", "key": "rotation_degrees", "value": "Vector3(-30, 45, 0)"}
])
Both poses place the camera 20 metres from its target. To centre another point,
add that point's position in the camera parent's coordinates to the example
offset. In a script, set the rotation first and use
camera.position = target + camera.basis.z.normalized() * 20.0.
A camera is only proven by a frame. After the rig is in, summer_play, then
summer_screenshot with target: "game", then summer_stop; or save frames
from a RunVerification probe while the player moves (see
playtesting-a-feature). An editor viewport screenshot shows the editor's
camera, not the game's.
| Symptom | Cause | Fix |
|---|---|---|
| Missing 3D scene or wrong camera angle | The game's viewport has no camera or has selected a different one | From a node in that viewport, inspect get_viewport().get_camera_3d(). Add a camera if it returns null, or call make_current() on the intended one. |
| Missing 2D content | The canvas or active camera may place the content outside the viewport | Inspect get_viewport().get_camera_2d() on the content. A null result uses the viewport's canvas transform. Check the content's position and visibility. |
| Camera inside geometry | Spawned inside a wall/player | Move it out; spring arm for 3P |
| Jerky follow | Smoothing off/too slow | Enable smoothing, speed 6-10 |
| Shows past level edge | No 2D limits | Set limit_* to level bounds |
| Wrong facing (3D) | rotation.y off | y: 0 = forward, 180 = backward |
| Everything tiny/huge (ortho) | size wrong | Tune size, not position.y |
No Summer MCP tools in this session? Run each one as a command; when summer --version is missing or below 4.0, use npx -y summer-engine@latest in place of summer. Fields are flags in kebab-case (--scene-path res://main.tscn) or one --input '<json>', and summer ops describe <op> prints the exact input. The summer-cli skill has the rest.
| In this skill | Command |
|---|---|
summer_docs_read | summer docs read |
summer_add_node | summer engine add-node |
summer_batch | summer engine batch |
summer_get_diagnostics | summer engine get-diagnostics |
summer_get_scene_tree | summer engine get-scene-tree |
summer_inspect_node | summer engine inspect-node |
summer_play | summer engine play |
summer_save_scene | summer engine save-scene |
summer_screenshot | summer engine screenshot |
summer_set_prop | summer engine set-prop |
summer_stop | summer engine stop |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
godot, camera-rig, camera2d, camera3d, springarm3d, viewport
123 skills in this plugin
/3d-lightingLight a 3D scene: sun, omni and spot lights, WorldEnvironment, sky, shadows and ambient./adaptive-musicWire music stems to game state: combat, explore, boss and tension crossfades on a shared bus./agent-playtestingPlaytest by driving the live game: deterministic launch, frame-stamped probes, scripted or recorded input./ambient-bedGenerate a long looping location ambience (forest, dungeon, city, cave) on the Ambient bus./animated-loopGenerate a short seamless video loop: splash background, animated logo backdrop, idle title screen./animation-treeWire AnimationTree state machines and blend trees: locomotion blends, attack interrupts, hit reactions.npx claudepluginhub summerengine/summer --plugin summerOther plugins' skills for the same job