96 Commits

Author SHA1 Message Date
Mikko Mononen
6702143bc1 Fix for broken raycasts, changes how findNearestPoly works, slight API change
- test case supports raycasts
- changes how findNearestPoly works directly over polygons
- API change: findNearestPoly has additional parameter
2014-02-11 20:32:00 +02:00
Mikko Mononen
a08258d9dd Merge pull request #11 from flippy84/master
Update DetourNavMeshQuery.h
2013-12-22 08:02:47 -08:00
Mikko Mononen
6a7f5268ab Added define to compile Detour with 64bit dtPolyRefs 2013-12-22 18:01:06 +02:00
flippy84
3f8c0506fb Update DetourNavMeshQuery.h
Changed existing and existingSize parameters of finalizeSlicedFindPathPartial to @param[in]
2013-12-21 13:49:38 +01:00
grahamboree
dc7e248de6 Removed header dependency between Detour and Recast due to addition of rcIgnoreUnused. Added dtIgnoreUnused. 2013-10-15 17:29:14 -04:00
Matthew Endsley
b0e4e6a834 Add wrappers for the standard math library
Simplifies transition to software based math libraries
for projects requiring determinism.
2013-09-15 20:09:01 -07: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
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
db0baf4741 Fix for issue 192. 2012-03-10 20:53:04 +00:00
Mikko Mononen
cd3a68dd9b Random polygon selection for Detour. 2012-02-27 07:17:51 +00:00
Mikko Mononen
0e4a53fb0d Partial checkin or tile cache endian swap. 2011-12-19 19:31:09 +00:00
Stephen Pratt
82a5c863eb Detour: Added detail API documentation covering DetourNavMeshBuilder.h.
Plus some minor tweaks to other Detour documentation.
2011-09-19 20:37:11 +00:00
Stephen Pratt
923098b43c Recast: New API documentation, and standardized tab/space use.
Documented DetourAlloc.h and most members in DetourCommon.h.
Added warning related to issue 180. (Limitation on use of dtNavmeshQuery::findNearestPoly.)
Standardized the use of tab/space indenting in the API documentation.
2011-09-13 13:22:09 +00:00
Stephen Pratt
c150272f99 Detour: Detail API documentation covering the DetourCommon.h and DetourNavMeshQuery.h files 2011-08-15 17:01:16 +00:00
Mikko Mononen
1b6ca5a94a Fixed findStraightPath() to return partial results. Fixed main.cpp FPS throttling. Added initial support for path replanning in DetourCrowd. 2011-08-01 10:48:56 +00:00
Cameron hart
d5729c678b Changed header comments to use Doxygen format and added configuration Doxyfile. 2011-05-06 23:22:08 +00:00
Mikko Mononen
76444aa747 - Updated win32 project
- Fixed VC compile errors
2011-03-25 10:13:27 +00:00
Mikko Mononen
1de5e2f119 DETOUR API CHANGE!
- Detour Navmesh supports layers
- Allow to disable Navmesh BV-tree
- Added DetourTileCache
- Cleaned up Recast layer code
- Moved portal edge detection to Recast
- Removed polymesh border offset
- Removed lean heighfield
2011-03-25 09:16:38 +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
9bb9abad33 Fix for issue 150 2011-02-03 09:48:16 +00:00
Mikko Mononen
6271b40ae6 Updated VC project and fixed compile warnings. 2011-01-31 07:33:01 +00:00
Mikko Mononen
7f2696cbbf First implementation of DetourCrowd off-mesh connection handling. 2011-01-30 17:11:20 +00:00
Mikko Mononen
e70a4664c9 Added multisampling. Moved obstacle avoidance to DetourCrowd. 2011-01-29 15:39:42 +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
ebd5358010 Made detail mesh optional, create dummy mesh if no data is provided. 2011-01-14 10:53:05 +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
7fbcfa9c4b Fixes for issue 147, issue 143, issue 140 2010-11-21 14:59:58 +00:00
Mikko Mononen
1be9de72d8 Detour version change! Added user ID per off-mesh connection. Fixed off-mesh connection draw flags after using off-mesh con tool. 2010-11-07 15:21:38 +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
7f84699bfe Cleaned up and simplified Detour obst. avoidance. Simplified path corridor, spinned off LocalBoundary to manage edge segs. 2010-10-20 17:13:47 +00:00
Mikko Mononen
35df0bfdcb Another fix for potentially working 64bit poly ref. 2010-10-18 06:54:04 +00:00
Mikko Mononen
7774a7f45d Adaptive sampling uses rotated circluar grid. Handles tight spots better. 2010-10-15 13:49:26 +00:00
Mikko Mononen
b13a0e60c8 Some cast fixes for 64bit ref support. 2010-10-15 13:04:05 +00:00
Mikko Mononen
030974fa55 Fix for Issue 130. 2010-10-15 07:01:01 +00:00
Mikko Mononen
034fbbc67d Fixed Detour to work when using 64bit polyrefs. 2010-10-15 06:57:45 +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
e1355c4a33 Fixed several detail mesh issues. Fixed issue 106. 2010-09-17 10:20:08 +00:00
Mikko Mononen
8a2963bce0 Fix for issue 119. 2010-09-17 07:37:00 +00:00
Mikko Mononen
f5bb64a375 Fix for Issue 123. 2010-09-17 07:25:19 +00:00
Mikko Mononen
7ee6e96e5a - fixed the code to compile on win32 2010-09-10 06:53:33 +00:00
Mikko Mononen
e65903dfce The humble beginnings of dtObstacleAvoidanceQuery, figuring out the API. Moved value graph/history to ValueHistory.h/cpp and changed the draw code to use imgui. Various tweaks to CrowdTool. 2010-08-31 12:36:32 +00:00
Mikko Mononen
c6ce6e2ba9 Added few more asserts. Moved hash function to common. 2010-08-26 18:26:56 +00:00
Mikko Mononen
3f0995dc1c Allow dtNavMesh m_tileBits and m_polyBits to be zero. 2010-08-24 21:02:31 +00:00
Mikko Mononen
057c3e9bfd Commented assert headers for encouraged usage. Navmesh query stores const dtNavMesh pointer. 2010-08-24 18:11:06 +00:00
Mikko Mononen
47ba806fef Fix for Issue 107 2010-08-23 17:40:45 +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
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