Winding Number Algorithm - Advanced Gamedev Tutorials

preview_player
Показать описание
A simple way to find out if a point lies inside or outside a polygon is the Winding Number Algorithm. No trigonometry, angles or line-line intersections, just a counter.

Link to my profile on the Unity Asset Store:

Link to the code:
Рекомендации по теме
Комментарии
Автор

your explanation of this was quite good! especially for the first video in what i assume is a series
off the top of my head, something i recommend adding would be stuff like a bit more debug info and visualizations for the demos

polybay
Автор

Nice video, I just use Blockbench and Probuilder but I am thinking of learning Blender.

mamickabeegames
Автор

Hi! Does the list of vertices (List<Vector2> points) have to be ordered? By ordered, I mean a vertex followed by its adjacent vertex. Thanks.

StellaNoctisVR
Автор

Is the code that you show in the video available anywhere?

alexanderlavzin
welcome to shbcf.ru