Finding random point in specific area

34 views
Skip to first unread message

PacaPop

unread,
Dec 30, 2022, 7:04:18 AM12/30/22
to recastnavigation
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!!!!!

Graham Pentheny

unread,
Mar 15, 2023, 10:40:08 PM3/15/23
to recastnavigation
Reply all
Reply to author
Forward
0 new messages