Godot 3d Gameplay logo

Godot 3d Gameplay

Community
EL4CTEO
godot-3d-gameplay

Building 3D games in Godot 4.7 - third-person and orbit cameras (SpringArm3D), camera-relative movement, lock-on, top-down/RTS/isometric cameras, GridMap + MeshLibrary levels, CSG blockout and baking, modular kit import hints, Path3D rails, interactables, spawners, world-space UI, large worlds and LOD. Use for 3D player controllers, cameras or level building.

Overview

PublisherEL4CTEO
Repositorygodot-skills
Skill namegodot-3d-gameplay
Stars
60
Forks
6
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by EL4CTEO on GitHub. Read the source before you install it.

Installation

Install the Godot 3d Gameplay AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/EL4CTEO/godot-skills/tree/main/skills/godot-3d-gameplay
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/EL4CTEO/godot-skills.git /tmp/godot-skills
mkdir -p .claude/skills
cp -r /tmp/godot-skills/skills/godot-3d-gameplay .claude/skills/godot-3d-gameplay
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Godot 3d Gameplay in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Godot 3d Gameplay on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Godot 3d Gameplay is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

3D Gameplay (4.7)

This skill covers how a 3D game plays: controllers, cameras, levels. Rendering is godot-3d-rendering, bodies and raycasts are godot-physics (it has the first-person controller), animation blending is godot-animation.

Scene layout that scales

Player (CharacterBody3D)            # movement, script
├─ CollisionShape3D (capsule)
├─ Model (Node3D)                   # rotate this to face movement, not the body
│  └─ character.glb (AnimationTree lives here)
└─ CameraRig (Node3D, top_level)    # follows the player in _process, owns the yaw
   └─ Pitch (Node3D)
      └─ SpringArm3D                # camera collision
         └─ Camera3D
  • top_level = true on the rig keeps the camera from inheriting the body's rotation and physics jitter. Follow player.get_global_transform_interpolated() when physics interpolation is on.
  • Turn the Model, not the body, so the collider and camera stay stable. Rotate with lerp_angle or Basis.slerp.
  • Keep gameplay in the root script and expose @export tuning (speed, acceleration, jump, sensitivity).

Camera-relative movement (third person)

input := Input.get_vector("move_left", "move_right", "move_forward", "move_back") then dir := (camera_yaw_basis * Vector3(input.x, 0, input.y)).normalized(). Use the rig's yaw basis only (no pitch) so looking down doesn't slow you. Accelerate with move_toward for grip, lerp toward zero for slide.

Cameras

StyleRecipe
Third-person orbityaw on the rig, pitch on a child (clamp −70°..60°), SpringArm3D (spring_length, margin, sphere shape radius 0.2–0.3)
Over-the-shoulder aimtween the spring length and Camera3D.h_offset, lower fov
Lock-onthe rig looks at the midpoint of the player and target; the player strafes facing the target
Top-down / ARPGfixed pitch −50..−60°, smooth follow, mouse picking for aiming (see godot-physics)
Isometric / tacticsprojection = PROJECTION_ORTHOGONAL, size = zoom, rotate 45° yaw, ~−35° pitch
RTSthe rig moves on XZ (WASD, edge pan), the wheel changes height or size, clamp to map bounds
Rail / cinematicPathFollow3D on a Path3D with progress driven by a tween or AnimationPlayer
  • SpringArm3D must not hit the player: exclude it with add_excluded_object(player.get_rid()) or leave the player layer out of collision_mask.
  • Mouse look in _unhandled_input (InputEventMouseMotion.relative), stick look in _process (multiply by delta). Don't mix them in one place.
  • Several cameras: call make_current() on the one you want. Blending between cameras needs a tween of one camera's transform (or the Phantom Camera addon).
  • Screen shake and FOV kicks: godot-game-feel.

Levels

GridMap (modular 3D tiles):

  1. Build a scene with one MeshInstance3D per tile, each with a StaticBody3D + CollisionShape3D child (and an optional NavigationRegion3D). Then use Scene → Export As → MeshLibrary. The 4.7 MeshLibrary editor (bottom panel) edits items, previews and undo.
  2. GridMap.mesh_library, cell_size = tile size, and the cell_center_* flags to match pivots.
  3. Code: set_cell_item(Vector3i, item, orientation) with orientation = get_orthogonal_index_from_basis(basis), get_cell_item, get_used_cells_by_item, local_to_map/map_to_local.
  4. Navigation: bake_navigation = true uses the item navmeshes, or bake a NavigationRegion3D over the GridMap (godot-navigation-ai). CSG (CSGBox3D, CSGCombiner3D, CSGPolygon3D, operation = union/subtraction/intersection) is for blockout and prototypes. It's slow to rebuild at runtime. For shipping, call bake_static_mesh() + bake_collision_shape() (or the editor's CSG → Bake Mesh / Collision). use_collision on the root only. 4.7 adds autosmooth/smoothing_angle. Modular kits from Blender (.glb): name suffixes create nodes on import: -col (mesh + static collision), -colonly (collision only), -convcolonly (convex), -navmesh, -rigid, -noimp (skip). Prefer -colonly boxes over trimesh colliders for performance.

Gameplay objects

  • Interactables: an interact(actor) method plus group interactable. Find them with a ShapeCast3D or RayCast3D from the camera (godot-physics has the prompt code). Show a Label3D or a screen-space prompt.
  • Pickups/triggers: Area3D (body_entered), with masks set so only the player layer triggers them.
  • Doors, lifts, moving platforms: AnimatableBody3D moved by AnimationPlayer/tween or PathFollow3D so riders get carried.
  • Spawners: Marker3D points, PackedScene.instantiate(), then add_child to a level container before setting global_position, or set position relative to the container. Pool bullets and debris (godot-performance).
  • Checkpoints/respawn: store a Transform3D, teleport with reset_physics_interpolation().
  • World-space UI: Label3D/Sprite3D with billboard, or 2D UI positioned with camera.unproject_position(p) (hide when camera.is_position_behind(p)).
  • Vehicles: VehicleBody3D + VehicleWheel3D (arcade cars), or a RigidBody3D with raycast suspension for more control.

Big worlds

  • Visibility ranges (GeometryInstance3D.visibility_range_begin/end + fade) for HLOD; OccluderInstance3D for indoor culling; automatic mesh LOD is on by default for imported meshes.
  • Precision: past ~10 km from the origin, jitter appears. Either shift the world origin (move everything back when the player passes a threshold) or use a double-precision engine build.
  • Stream areas with ResourceLoader.load_threaded_request() (godot-performance). Terrain: the Terrain3D addon (1.1, Godot 4.5+) or a heightmap mesh with HeightMapShape3D (godot-procedural).

Third-person controller and camera rig, lock-on, top-down aiming, RTS camera, GridMap painting, CSG baking, rail camera and health bars (compiled by the tests): references/patterns.md

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Godot 3d Gameplay AI skill do?

Building 3D games in Godot 4.7 - third-person and orbit cameras (SpringArm3D), camera-relative movement, lock-on, top-down/RTS/isometric cameras, GridMap + MeshLibrary levels, CSG blockout and baking, modular kit import hints, Path3D rails, interactables, spawners, world-space UI, large worlds and LOD. Use for 3D player controllers, cameras or level building.

Why use Godot 3d Gameplay on TypingMind?

Because you install it once and use it with any model. Godot 3d Gameplay is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Godot 3d Gameplay in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/EL4CTEO/godot-skills/tree/main/skills/godot-3d-gameplay. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Godot 3d Gameplay?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Godot 3d Gameplay?

As many as you like. As long as a model supports skills, you can use Godot 3d Gameplay with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Godot 3d Gameplay AI skill free?

Yes. It is published on GitHub by EL4CTEO under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇