godot-camera-systems
БесплатноЗапускает вложенные скриптыНе проверенExpert patterns for 2D/3D camera control including smooth following (lerp, position_smoothing), camera shake (trauma system), screen shake with frequency…
от thedivergentai★ 1 019 звёзд на GitHubОб этом скилле
NEVER Do
- NEVER use
global_position = target.global_positionevery frame — Instant position matching causes jittery movement. Uselerp()orposition_smoothing_enabled = true. - NEVER use
offsetfor permanent camera positioning —offsetis for shake, sway, or temporary recoil effects only. Usepositionfor permanent framing. - NEVER forget
limit_smoothed = trueforCamera2D— Hard boundaries cause jarring visual stops. - NEVER enable multiple
Camera2Dnodes in the same viewport simultaneously — Only the last enabled camera takes precedence. Explicitly disable inactive cameras. - NEVER use
SpringArm3Dwithout a collision mask — It will clip through terrain and walls. Set it to the world/environment layer. - NEVER implement screen shake by randomizing
position(orrandfonoffsetas the whole system) — Use a dedicated Trauma/Noise system layered on follow (camera_shake_trauma_pro.gd). - NEVER parent the Camera directly to a high-speed physics body as the default rig — Physics stutter or parent rotation causes motion sickness. Prefer
RemoteTransform2D/3D/ phantom decoupling with rotation sync disabled (remote_transform_decoupling.gd, phantom_decoupling.gd). - NEVER use
look_at()in 3D without a fallback for the 'Up' vector — Targets directly above/below flip the camera; use guards or Quaternion math. - NEVER rely on
SubViewportdefaults for Mini-maps — Setrender_target_update_modetoUPDATE_WHEN_VISIBLEor a lower fixed rate. - NEVER use linear interpolation for Zoom — Prefer exponential lerp or Tween
TRANS_CUBIC.
Parenting / Decoupling (resolved)
| Rig | When | Script |
|---|---|---|
| Default: RemoteTransform / phantom | Player is CharacterBody / high-speed / rotates | remote_transform_decoupling.gd, phantom_decoupling.gd |
| Camera as child of player | Slow top-down / locked rotation / prototype only | Explicit caveat: disable if motion sickness or physics jitter appears; never combine with position-overwrite shake |
| SpringArm3D + Camera3D | Third-person occlusion | spring_lerp_camera_3d.gd — mask required |
Available Scripts
MANDATORY: Read before implementing the matching behavior. No
randfshake samples in project code.
- camera_shake_trauma_pro.gd — MANDATORY for any screen shake / impact juice.
- camera_shake_trauma.gd — Lighter trauma variant.
- remote_transform_decoupling.gd — MANDATORY default for physics-body follow.
- phantom_decoupling.gd — Alternate stable follow phantom.
- spring_lerp_camera_3d.gd — MANDATORY before custom 3D follow springs.
- deadzone_drag_margins.gd — Platformer drag/deadzone.
- camera_follow_2d.gd — Smooth 2D follow helpers.
- zoom_damping_controller.gd — Non-linear zoom.
- camera_state_machine.gd — Follow / Static / Cinematic transitions.
- cinematic_framing_logic.gd — Rule of thirds / lead room.
- minimap_viewport_manager.gd — SubViewport update modes.
- split_screen_setup.gd — Local multi camera viewports.
- first_person_sway.gd — FPS bob/sway on offset.
- juice_camera.gd — Combined juice helpers.
- framing_box_camera_2d.gd — Multi-target AABB framing + zoom fit.
- occlusion_aware_camera_3d.gd — Raycast occlusion when SpringArm is insufficient.
- trauma_debugger.gd — On-screen trauma decay curve (debug builds).
Expert Camera Architectures
1. Multi-target framing
Compute AABB of targets → lerp camera to center → zoom/distance to fit with margin. Keep juice shake on offset only. MANDATORY: framing_box_camera_2d.gd.
2. Occlusion (3D)
Prefer SpringArm3D with world collision mask; custom rigs use intersect_ray between ideal camera pos and target — occlusion_aware_camera_3d.gd (peer godot-raycasting-queries).
3. Trauma audit
Plot trauma decay (debug draw) while tuning camera_shake_trauma_pro.gd — wire trauma_debugger.gd to get_trauma(). Never validate feel with raw randf offset demos.
MANDATORY for multi-target framing, custom occlusion rigs, 2D/3D follow
Установить godot-camera-systems в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл godot-camera-systems?
Expert patterns for 2D/3D camera control including smooth following (lerp, position_smoothing), camera shake (trauma system), screen shake with frequency parameters, deadzone/drag for platformers, look-ahead prediction, and camera transitions. Use for player cameras, cinematic sequences, or multi-camera systems. Trigger keywords: Camera2D, Camera3D, SpringArm3D, position_smoothing, camera_shake, trauma_system, look_ahead, drag_margin, camera_limits, camera_transition.
Как установить скилл godot-camera-systems?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл godot-camera-systems запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic