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:
►
Want to follow along? This project is a good starting point
►
The final script is available for free here
►
Help support our work:
► Patreon:
► Ko-fi:
Follow us:
► Ketra Games:
► Patreon:
163 views
140
32
4 months ago 00:07:25 7
Panzer IV/70 (V) at AusArmourFest 2024. German SPG.
6 months ago 00:00:10 1
Slope roof fixing process- Good tools and machinery make work easy
6 months ago 00:00:47 1
Adaptive Nozzle Enhances 3D Printing
7 months ago 00:19:36 1
Handbrake fix and adjustment for Ducato/Jumper/Boxer/Relay/ProMaster X250.
7 months ago 00:03:40 1
Fiona Apple - Paper Bag (Official HD Video)
7 months ago 00:15:19 1
Linear mixed effect models in Jamovi | 1 | Introduction