recastnavigation / recastnavigation

Industry-standard navigation-mesh toolset for games

Home Page:http://recastnav.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Finding random point within specific area

PacaPop opened this issue · comments

Hello!

I am needing to get a random point within a specific area.

I already have the area defined and I have its ID.
I wanted to create a dtQueryFilter that would allow me to use findRandomPoint() or findRandomPointAroundCircle() to get points that always fall within that area.

How would I have to do to achieve this?

Thanks!!!!!