flutter_scene-kit
Skill by bdero
Provides gameplay, camera, and atmosphere components for flutter_scene, including camera rigs, NPC steering, day/night cycles, water surfaces, and debug drawing. Intended for developers building 3D interactive experiences with Flutter.
Install flutter_scene-kit
Built from the published package, never by AI.
git clone --depth 1 https://github.com/bdero/flutter_scene /tmp/flutter_scene && mkdir -p ~/.claude/skills && cp -r /tmp/flutter_scene/packages/flutter_scene/skills/flutter_scene-kit ~/.claude/skills/flutter-scene-kitRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/bdero/flutter_scene /tmp/flutter_scene && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/flutter_scene/packages/flutter_scene/skills/flutter_scene-kit ~/.gemini/antigravity-cli/skills/flutter-scene-kitAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill describes the gameplay, camera, and atmosphere kit in flutter_scene, imported from package:flutter_scene/kit.dart. It covers camera rigs such as SpringArmComponent and CameraShake, character movement through ThirdPersonControllerComponent, and NPC steering helpers including Steering.seek, arrive, and separation. It also documents DayNightCycleComponent, WaterSurfaceComponent, and the immediate-mode DebugDraw utilities.
The skill also guides the choice between components, such as KinematicCharacterController for physics-based navigation and OrbitCameraController for orbit cameras. It warns against using forward.cross(up) for camera-relative movement because it inverts A and D controls in flutter_scene's left-handed view space. It is aimed at developers building games and interactive 3D experiences with Flutter who want to avoid re-implementing standard mechanics.
Written from the project's SKILL.md and checked against it.
What it can do
- SpringArmComponentAttaches a camera to a character and pulls it inward to avoid wall clipping.
- CameraShakeAdds trauma-based, multi-axis camera shake for hits, footsteps, and explosions.
- ThirdPersonControllerComponentHandles kinematic movement, sprinting, ground snapping, coyote time, and buffered jumps.
- SteeringProvides seek, arrive, and separation helpers for NPC navigation and flocking.
- DayNightCycleComponentMoves the sun along a solar arc based on latitude and time of day.
- WaterSurfaceComponentEvaluates Gerstner waves for water height, normals, and buoyancy queries.
- DebugDrawDraws immediate-mode lines, boxes, spheres, axes, and physics colliders for debugging.
What you need
- flutter_scene package with kit.dart and physics.dart imports
Try asking
- Add a spring arm camera that pulls in when the character hits a wall.
- Make an NPC seek a target and arrive smoothly using Steering.
- Set up a day/night cycle at latitude 34 starting at 2:30 PM.
Good to know
- Camera near plane should stay at its default, since raising it by hand clips the character at close range.
- DebugDraw.flushMesh builds a new geometry per call and suits one-off captures, not per-frame loops.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: packages/flutter_scene/skills/flutter_scene-kit/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md7 KB
Alternatives to flutter_scene-kit
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
flutter_scene-kit: common questions
How should I move a camera relative to the view in flutter_scene?
Read camera.horizontalRight and camera.horizontalForward, or camera.right and node.right. The source says not to use forward.cross(up), because it inverts A and D and drag controls.
Which component should I use for physics-driven character navigation?
The source recommends KinematicCharacterController from package:flutter_scene/physics.dart for capsule colliders, wall sliding, and autostep.
Can I draw colliders for debugging in flutter_scene?
Yes. DebugDraw.colliders(scene.root) draws every collider under a node in its simulated pose, with triggers in a separate color.
How do I install flutter_scene-kit?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is flutter_scene-kit free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is flutter_scene-kit safe to use?
It scores 83 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to flutter_scene-kit?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
