45 Commits

Author SHA1 Message Date
Mikko Mononen
15cd962073 Adjust result height for raycasting 2013-09-25 19:53:13 +02:00
Mikko Mononen
36a967ffcd Fixed google code Issue 234 2013-09-17 21:10:14 +02:00
Mikko Mononen
de6fd8c3ef - use "cylinder distance" for nearest point in polygon
- added option for findStraightPath() to append vertices at get edge crossings
- added scale parameter for .obj loader
2012-09-05 05:57:31 +00:00
Mikko Mononen
a02cc64e4b - fixed issue 203
- fixed debug draw for partial paths
2012-06-12 03:53:16 +00:00
Mikko Mononen
64802ecd0e - Improved unconnected off-mesh connection debug draw
- Fixed connecting off-mesh links which connect to the same tile x,y but different layer
- Fixed crash in navmehs query closestPointOnPolyInTile() when the poly is off-mesh connection
2012-06-12 03:28:43 +00:00
Mikko Mononen
cd3a68dd9b Random polygon selection for Detour. 2012-02-27 07:17:51 +00:00
Mikko Mononen
e6b1d141d2 Fixed warnings when compiling with -Wshadow. 2012-02-22 17:25:46 +00:00
Mikko Mononen
54e0e86ff2 Added simple Detour navmesh flood fill and prune tool. 2011-09-11 11:08:55 +00:00
Mikko Mononen
fdb4ad30f7 getPolyWallSegments can return both walls and portals. Added userData pointer to dtCrowdAgent. 2011-02-11 08:43:05 +00:00
Mikko Mononen
4a81213b3b Refactored and cleaned up CrowdManager and moved it to DetourCrowd. Update tool UI layout, context sensitive help is now rendered as overlay. 2011-01-29 15:28:28 +00:00
Mikko Mononen
08741e894c DETOUR return status codes changed, check blog! Changed Detour status codes to be bitfields which describes the highlevel status plus some details about the failure or quality of the result. 2010-11-26 11:56:34 +00:00
Mikko Mononen
ccf401d3da - added finalizeSlicedFindPathPartial()
- added handleStep()/handleToggle() to samples
- changed how crowds are rendered
- added path topology optimization step
2010-11-07 10:56:48 +00:00
Mikko Mononen
e5d603ac92 **API CHANGED** Implemented issue 124. Detour API returns error codes. 2010-10-29 12:08:13 +00:00
Mikko Mononen
c9df5dc995 Changed dtNavmeshQuery.getPolyWallSegments() to require max number of segments to store. 2010-10-15 06:35:40 +00:00
Mikko Mononen
b6308d8908 Removed closed list coloring from crowd tool. Fixed navmesh draw flags in navmesh tester. 2010-10-01 08:41:36 +00:00
Mikko Mononen
8a2963bce0 Fix for issue 119. 2010-09-17 07:37:00 +00:00
Mikko Mononen
0e4aa30e85 Changed dtQueryFilter to contain the flags check and cost calculation, can customized. Fix for issue 47 and issue 103. 2010-08-20 09:30:37 +00:00
Mikko Mononen
55360f6ee5 Missing files for R197 2010-08-19 09:55:12 +00:00
Mikko Mononen
5f7ac70cba win32 compile and project fixes, made tool UI more clear 2010-08-17 18:30:58 +00:00
Mikko Mononen
785e9c68be Missing DetourNavMeshQuery files, plus sliced findPath. 2010-08-17 17:46:19 +00:00
Mikko Mononen
cbc47f4ddf Fix for Issue 99:Separate Detour mesh queries in to a different class from mesh data 2010-08-17 15:10:32 +00:00
Mikko Mononen
7d8fe75de1 The ugly and humble beginnings of path following and multi-agent navigation code. 2010-08-12 12:54:00 +00:00
Mikko Mononen
474a3ddc67 Changed link bmin/bmax to fraction along the edge. Fixed moveAlong to work with multiple links per edge. Use flat delta for path iterator. 2010-08-10 10:43:28 +00:00
Mikko Mononen
81c0402116 Missing changes from previous commit. Added dtNavMesh.findLocalNeighbourhood() and dtNavMesh.getPolyWallSegments() and test code for them. 2010-08-09 13:28:26 +00:00
Mikko Mononen
1c4755012f Removed moveAlongPathCorridor() and added more generic moveAlongSurface(). 2010-08-09 11:26:07 +00:00
Mikko Mononen
d83961ecd4 issue 46:getPolysAround with convex polygon query bounds 2010-07-21 07:11:37 +00:00
Mikko Mononen
1d36d4f40b fix for Issue 91:findStraightPath error with multiple height levels. 2010-07-08 11:37:14 +00:00
Mikko Mononen
d5c65a220f Raycast does not try to follow off-mesh links (Issue 64), use references instead of pointers in debugdraw api (Issue 62, Issue 63) 2010-04-15 07:22:58 +00:00
Mikko Mononen
10b330ffb4 Moved common functions behind name decoration. 2010-04-14 18:45:46 +00:00
Mikko Mononen
1d8c7dac84 Issue 60: fixed end of path issues in findStraightPath(). 2010-04-13 07:38:57 +00:00
Mikko Mononen
5119b5cb16 API CHANGE! Better serialization support. 2010-03-25 12:24:40 +00:00
Mikko Mononen
70c17e8212 Fix for Issue 55: Negative array access in dtNavMesh::raycast() 2010-03-18 08:06:12 +00:00
Mikko Mononen
5ade5a3052 More robust path iteration code. 2010-02-12 13:04:55 +00:00
Mikko Mononen
f6236c133d Added cost per poly. Added API to change poly flags. Optimized pathfinder. 2010-02-12 09:29:09 +00:00
Mikko Mononen
a715e9a5f7 Area progress: Pass area type and ability flags to recast. Convex Area tool. Mark chf with convex volumes. Better visualization of volumes. 2010-02-05 16:15:49 +00:00
Mikko Mononen
9bf68216a3 Better handling of low obstacles. 2010-01-29 11:37:14 +00:00
Mikko Mononen
bd2e60a008 Humble beginnings of test cases. 2010-01-28 15:04:01 +00:00
Mikko Mononen
3648ebe765 Updated win32 project, compile fixes. 2010-01-28 13:53:23 +00:00
Mikko Mononen
a56bf3ec2d Off-Mesh connections across tile boundaries. Fixed getPolysAround(). Detour links per poly use linked list. Adjusted off-mesh connection tool. 2010-01-26 12:48:58 +00:00
Mikko Mononen
e973b71d4b More polygons flags. Added filter for Detour queries. 2010-01-19 15:13:33 +00:00
Mikko Mononen
3abbfe006d Changed Detour header var names more to verbose. Pass params as a struct to dtCreateNavMeshData. Named Off-mesh links to Off-mesh connections. Cleaned up Off-mesh connection code and samples. Added connection radius and direction to Off-mesh connections. Agent dimensions passed store in navmesh header. 2010-01-19 14:22:48 +00:00
Mikko Mononen
a81223f3bb Update path iterator code to cope with off-mesh links. findStraightPath() returns now more info so that off-mesh links can de detected. 2010-01-13 21:25:07 +00:00
Mikko Mononen
4ad8dafa40 Off-Mesh link progress (not fully working). 2010-01-10 17:21:01 +00:00
Mikko Mononen
eb6b215d23 Changed the sample stuff to support extra link tool. Added simple tool to create eextra links (no detour support yet). 2010-01-05 14:26:40 +00:00
Mikko Mononen
57c70704d8 Missing files from NavMeshTesterTool. 2009-12-30 16:27:11 +00:00