Fixing Slope Bounce (Unity Tutorial) @KetraGames
Fixing Slope Bounce (Unity Tutorial)  @KetraGames
Uploaded July 2021 | Updated September 2026, 2 weeks ago
In this Unity game development tutorial we're going to look at how we can prevent a character from bouncing, when moving down a slope.

We'll start off by explaining why the character bounces when moving down a slope, and then explain how we're going to solve the problem.

We'll create a method that will detect whether the character is on a slope using a Raycast. Then we'll rotate the velocity to align it to direction the slope.

The project files are available to our patrons here:
patreon.com/posts/54017553

Want to follow along? This project is a good starting point
patreon.com/posts/48966441

The final script is available for free here
dotnetfiddle.net/VpfYvo

Help support our work:
► Patreon: patreon.com/ketragames
► Ko-fi: ko-fi.com/ketragames

Follow us:
► Ketra Games: ketra-games.com
► Patreon: patreon.com/ketragames
► Twitter: twitter.com/ketragames
► Facebook: facebook.com/ketragames

Introduction - 0:00
Overview of starting project - 0:24
Script to align velocity to the slope - 1:39
Summary - 4:27

#KetraGames #LearnUnity #UnityTutorials #UnityTips
Fixing Slope Bounce (Unity Tutorial)2D Top Down Player Movement Using the New Input System (Unity Tutorial | 2D Top Down Shooter)C# Naming Conventions (Unity Tutorial)Adding an Action Replay/Rewind to a Game (Unity Tutorial)All You Need to Know About Coroutines in Unity! (Unity Tutorial)2D Player Rotation in the Direction of Input (Unity Tutorial | 2D Top Down Shooter)How to Keep Score in Unity Using Unity Events and Text Mesh ProMaster Character Movement in Unity - Input Actions Made Easy2D Top Down Shooter - Upgrade to Unity 6Smooth 2D Movement Using the New Input System (Unity Tutorial | 2D Top Down Shooter)Colliding with Obstacles (Unity Tutorial)Public vs Private Fields (Unity Tip)
Ketra Games |

Fixing Slope Bounce (Unity Tutorial)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER