Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17625

Creating a navigation mesh 2D

$
0
0

I'm trying to create (implement) a navigation system… I want to be able to place various rectangular polygons (not rotated) and make a unique shape out of them (union). I'm having trouble though coming up with an algorithm to do it. I guess I want to end with a list of consecutive points that represent the shape… then I need to break those into triangles and lastly use it in conjunction with A*.
So my main problem is creating the Mesh and splitting it into triangles.. I'm working from scratch here so no external libraries :( just wanted …


Viewing all articles
Browse latest Browse all 17625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>