Working on navigation mesh for AI, this is generated using Clipper library:
Didn't know how to connect vertices in the navigation mesh, so I triangulated it with Poly2Tri and used triangles to form connections. I will have to ditch Poly2Tri for some library that generates polygons instead, and do some "path smoothing"; starting from the yellow node, the node 10 is visible from 5 and should be directly connected in the final path.
In a platformer game this could be used for flying enemies.
AntonioRMember Since 01 Mar 2011
Offline Last Active Apr 29 2015 07:52 AM
- Group Members
- Active Posts 134
- Profile Views 3,305
- Submitted Links 0
- Member Title Member
- Age Age Unknown
- Birthday Birthday Unknown
2D game development