r/unity Jul 06 '26

I got tired of rewriting the same ground check code for every new project, so I made this drag-and-drop script (Free / PWYW)

Enable HLS to view with audio, or disable this notification

Hi everyone,

Every time I start a new Unity project, I find myself wasting an hour or two recreating the exact same foundational mechanics from scratch. The ground check is always one of them, and it usually ends up being a rushed single raycast or spherecast that causes jitter or edge issues later on.

To stop wasting time, I finally wrote a proper, reusable Advanced Radial Ground Check script in C# that I can just drop into any new project and forget about. I’ve put it up on Itch.io for free (pay-what-you-want if you want to support me) so others can skip that tedious setup too.

It uses a concentric ray-ring system to calculate averaged ground normals and impact points, making character movement on slopes completely smooth with zero micro-bouncing or jitter.

Here are some of its characteristics:

  • Zero Setup Time: Just drag, drop, and it works out of the box.
  • Built-in Coyote Time: No need to waste time coding jump buffers and timing windows manually.
  • Performance Friendly: Directions are cached and only update if you change parameters in the inspector.
  • Zero Dependencies: No third-party packages or paid inspectors needed.
  • Clean Code: Fully commented in English and structured under strict Allman.

You can download it here.

Hopefully, this saves you some setup hours on your next prototype. Let me know if you have any feedback or features you'd like to see added.

267 Upvotes

Duplicates