Fixing Slope Bounce ( Unity Tutorial)
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: Kofi: Follow us: Ketra Games: Patreon:
|
|