AchMover
AchMover is a plug-in 2D character movement component. It does not use Rigidbody2D; it implements Move-and-Slide collision, gravity, slopes, stairs, and ground snapping directly.
Usage
Add AchMover and a CapsuleCollider2D to the character. Drive movement by setting the input or calling the public movement methods from your controller.
Inspector
Movement
Configure move speed, acceleration, deceleration, jump speed, and air control.
Physics
Configure gravity, terminal velocity, skin width, and collision layers.
Slopes & stairs
Set MaxSlopeAngle and StepHeight to control walkable slopes and automatic stair climbing.
Control
Enable or disable gravity and movement, and choose the update mode appropriate for the controller.
Built-in collision system
Each frame the component:
- Combines input, gravity, and jump velocity.
- Casts the capsule and slides along collision surfaces, up to four iterations.
- Steps over ledges within
StepHeight. - Casts below the collider and marks the character grounded when the surface is within
MaxSlopeAngle. - Snaps to the ground while descending slopes.
- Corrects any remaining penetration.
State properties
Joystick or custom input
Code-control API
Knockback
Combining UseGravity
Disable UseGravity when another system owns vertical movement. Re-enable it before returning control to AchMover.
AchFollower — AI following
AchFollower is a standalone target-following component. It does not require AchMover.
AchProjectile — projectiles
AchProjectile supports straight and homing projectiles without Rigidbody2D. Configure speed, lifetime, collision layers, and the projectile type in the Inspector, then set the target for a homing shot.
Trigger and collision events
Use the component's hit/trigger callbacks to apply damage or effects. Keep gameplay response in the listener rather than modifying the movement solver.