← ClaudeAtlas

unity-2d-controllerlisted

Move a 2D character: platformer jump, slopes, coyote time, moving platforms, top-down movement.
tipoLi5890/unity-dev-skills · ★ 2 · AI & Automation · score 75
Install: claude install-skill tipoLi5890/unity-dev-skills
# unity-2d-controller — a platformer character asks physics where the ground is; it is not simulated by it > **A character left to the solver is a crate with a face.** A dynamic body under gravity slides > down slopes, sticks to walls by friction, bounces off corners and jumps a different height > every time a contact lands on the take-off step. None of those are bugs in the physics. The > fix is not a setting: the character stops being simulated, decides its own velocity, and uses > the engine only to ask what is in the way. ## The situation → what to read | The situation | Read | |---|---| | Kinematic or dynamic; `Rigidbody2D.Slide`; who owns the transform; a second writer | `reference/model-choice.md` | | "The character slides down slopes", "it sticks to walls", "can't jump right at the edge", "falls through the moving platform": grounding, slopes, sliding downhill, one-way platforms and dropping through, moving platforms, coyote time, buffer, short hop, apex hang, dash, wall slide and wall jump, auto-run, abilities as data | `reference/platformer.md` | | "The jump feels floaty": gravity and jump velocity from height and time; rise and fall gravity; why the apex is 2.85 and not 3; measuring it | `reference/jump-maths.md` | | "Diagonal movement is faster": four-way, eight-way, analogue; the fast diagonal; acceleration and stopping; wall slide; twin-stick aim; screen clamp; knock-back | `reference/topdown-free.md` | | One cell per step: commit then tween, key repeat, one