Demo: How to detect slopes in a platform game using the Dot Product

By: Nathan Lovato

This demo shows how to use the dot product to detect the angle of a slope in a platform game. It's made with the Godot game engine.

Become a better game developer

Join our weekly newsletter and get our latest game creation tutorials, tips, and open-source tools right in your inbox.

🔒 No spam. Unsubscribe anytime.

Nathan Lovato

GDQuest founder. Courteous designer with a taste for Free Software. I promote sharing and collaboration.