character-controller

Implement 2D and 3D character movement patterns for Unity.

3|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/XeldarAlz/KlondikeSolitaire --skill character-controller
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: character-controller
Source: https://github.com/XeldarAlz/KlondikeSolitaire/tree/main/.claude/skills/gameplay/character-controller
Command: npx skills add https://github.com/XeldarAlz/KlondikeSolitaire --skill character-controller

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Comprehensive, reusable patterns for robust 2D and 3D character movement in Unity, including precise ground detection, coyote time, input buffering, and responsive wall interactions.

Core Features & Use Cases

  • 2D ground detection with coyote time and input buffering for forgiving jumps
  • 3D ground detection, slope handling, and camera-relative movement for multi-axis games
  • Wall slide/jump, dash, stairs, one-way platforms, and a simple state-machine approach to motion

Quick Start

Integrate the character-controller patterns into your Unity project and wire your input to Move and Jump to experience immediate, responsive platforming.

Frequently Asked Questions about character-controller

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement coyote time and input buffering for Unity platformer movement?

Coyote time and input buffering for Unity platformer movement are implemented using provided character controller patterns that track timed thresholds for leaving ground edges and queue jump commands to execute on the next valid frame.

Does this character controller handle slope traversal and stairs in 3D Unity games?

Yes, the 3D character controller handles slope traversal and stairs in Unity by applying ground detection logic and angle calculations to ensure responsive movement across uneven multi-axis terrain.

What is the best way to set up wall slide and wall jump mechanics in a 2D Unity game?

The best way to set up wall slide and wall jump mechanics in a 2D Unity game is using the included state-machine approach, which manages contact detection and jump force application to create responsive wall interactions.

Can I use a state machine for character movement patterns in both 2D and 3D Unity projects?

Yes, you can use a simple state-machine approach for character movement patterns in both 2D and 3D Unity projects, with provided code templates managing ground traversal, dashes, and wall interactions.

How do I make 3D character movement camera-relative in Unity?

3D character movement is made camera-relative in Unity by applying input directions relative to the camera's forward and right vectors, ensuring multi-axis traversal aligns with the player's view perspective.

Why does my character controller jump feel unresponsive without jump buffering?

Character controller jumps feel unresponsive without jump buffering because early or mistimed inputs are ignored, whereas buffering queues the action to fire on the next valid ground detection frame.