AFPCExtensions is an add-on pack for the AFPC character controller. Each extension is a self-contained component — drop it on your Hero, add it to the Extensions list, and it works. All extensions are event-driven and fully configurable from the Inspector without writing any code.
MOVEMENT ABILITIES
* Sliding — Sprint into a crouch to trigger a physics-based slide. Momentum carries the player downhill. Configurable impulse, duration, drag, cooldown, and endurance cost.
* Wall Running — Run along vertical surfaces. Wall detection, gravity, duration, camera tilt, wall jump, and clean exit when the wall ends.
* Climbing — Grab and climb vertical surfaces. Endurance-gated with configurable speed and exit jump force.
* Gliding — Hold jump while airborne to glide. Reduces gravity and limits fall speed. Deactivates on landing or endurance depletion.
* Ledge Grabbing — Automatically grabs ledges when the player reaches a surface edge while airborne. Pull up, drop, or jump off.
* Stomping — Jump and press crouch mid-air to stomp. Physics explosion on landing with configurable radius, force, and falloff.
* Dashing — Quick directional burst with cooldown, endurance cost, and optional air dash support.
* Blinking — Instant teleport in the look direction. Obstacle validation prevents teleporting into geometry.
* Hooking — Fire a grappling hook and get pulled toward the surface. LineRenderer rope visual, configurable pull force and launch impulse.
* Jetpacking — Hold jump while airborne for upward thrust. Speed cap, endurance drain, and yield options for Gliding, Wall Running, and Climbing.
INTERACTION
* Push / Pulling — Fire a physics impulse at nearby objects. Separate settings for pull and push: force, distance, aim error, mass limit, and endurance cost.
* Carrying — Pick up and hold physics objects with a spring-damper follow. Configurable hold distance, spring, damping, and throw force.
UTILITY
* Vibrant — Camera feel layer. Sharpness bonuses, extra drag, gravity multiplier, and camera shake on land, jump, run start, slide, stomp, and damage.
* Slow Motion — Hold or toggle time scale reduction with smooth transition and endurance drain.
* Modifying — Runtime property editor. Modify any public float on any extension at runtime via Inspector or script.
SCENE TRIGGERS
* AFPCTrigger — Collider-based trigger that fires on the Hero when the player enters, stays, or exits.
* AFPCModifyingTrigger — Modifies a runtime slot value on enter and optionally restores it on exit.
All extensions share a unified custom inspector with collapsible sections, a live debug panel, and UnityEvent callbacks for every significant action.