37 Commits

Author SHA1 Message Date
ZhihuiLiu
6624e7aef5 fix an index error 2020-11-18 10:54:07 +01:00
aymarfisherman
7cca61dc41 Renamed all instances of 'extents' to 'halfExtents' (#279) 2017-08-20 17:05:51 +02:00
Leif Gruenwoldt
2ec9270b34 reset agent desired velocity in resetMoveTarget
Otherwise, if velocity was non zero at time resetMoveTarget is called the agent would continue to move indefinitely at that velocity (a straight line) which was not the intended behaviour.

As discussed in https://groups.google.com/forum/#!topic/recastnavigation/QoLNGz5o6e8
2015-05-01 13:49:12 -04:00
grahamboree
a792998286 Replaced math function macros with inline functions. 2015-01-02 18:10:45 -05:00
axelrodR
a246038b2a Merge branch 'master' of https://github.com/memononen/recastnavigation 2014-05-27 23:30:28 +03:00
Mikko Mononen
d477061f83 - fixed missing index in calls to get query filter
- fixed bug in dtCrowd:addAgent getNearestPolygon()
2014-05-24 18:48:43 +03:00
Hans Gaiser
973f0e2c2b Change active type from unsigned char to bool 2014-04-27 18:57:03 +02:00
Hans Gaiser
652317f9e6 Add commented improvements 2014-04-27 18:25:48 +02:00
Hans Gaiser
5290c8aac4 Add partial path result status for dtCrowdAgent 2014-04-27 17:34:36 +02:00
axelrodR
9b73c5cf51 Merge branch 'master' of https://github.com/memononen/recastnavigation 2014-04-23 14:53:04 +03:00
axelrodR
a7f1d5e6a4 spelling mistakes 2014-04-23 14:52:54 +03:00
JimmyJames707
907b67bd18 query filter for each agent type with changes 2014-04-11 22:17:21 +10:00
JimmyJames707
ce552fd578 Revert "query filter for each agent type with changes"
This reverts commit b5f70b51a5e627f98a6f5d28aa5704afa9cdff6a.
2014-04-11 21:50:58 +10:00
JimmyJames707
b5f70b51a5 query filter for each agent type with changes 2014-04-11 21:45:42 +10:00
JimmyJames707
0f2b03a8c0 I would like to submit a query filter for each agent type:
https://groups.google.com/forum/#!searchin/recastnavigation/dtQueryFilter|sort:relevance|spell:false/recastnavigation/t-rFg2Ku9IY/PJNNkCjARccJ

Search on
queryFilterType and m_filters to see the changes.

Also in this code there are bugfixes, that have already been submitted
as issues. They can be ignored.

Possible bug with requestMoveVelocity and navmesh regeneration
https://groups.google.com/forum/#!topic/recastnavigation/E6khmmKJkzk

Bug fix for No guard on dtCrowd::getAgent?
https://groups.google.com/forum/#!topic/recastnavigation/yJ1EEVbOaKg
2014-04-11 16:50:57 +10:00
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
991c08f222 Fix for google code Issue 221
- fixed agent idx bound checks
2013-09-19 20:17:41 +02:00
Mikko Mononen
990b245179 Fixed google code Issue 228
- more defencive use of finNearestPoly() in dtCrowd
2013-09-17 21:29:51 +02:00
Mikko Mononen
5d3fd07074 Merge pull request #2 from mendsley/issue_ignored_qualifiers
Fix isolated cases that violate gcc's -Wignored-qualifiers
2013-09-16 13:51:15 -07:00
Mikko Mononen
9f632d99fd Merge pull request #1 from mendsley/issue_64bit_arithmetic
Fix 64bit pointer arithmetic warnings
2013-09-16 11:42:58 -07: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
Matthew Endsley
7a2a4b24c1 Fix isolated cases that violate gcc's -Wignored-qualifiers 2013-09-15 19:53:38 -07:00
Matthew Endsley
604aae43bd Fix 64bit pointer arithmetic warnings 2013-09-15 19:35:52 -07:00
Mikko Mononen
17fae045a2 - improved replanting logic (better use of existing path)
- added priority q to help end-of-path replanting contestation
2012-05-31 10:36:35 +00:00
Mikko Mononen
00edec6ffb - dtCrowd API Changed!
- finalizeSlicedFindPathPartial() returns best if no existing match found
- refactored crowd move requests
- removed adjustMoveTarget()
- added requestMoveVelocity() and resetMoveTarget()
- improved path replanning robustness
- added move visualization to crowd tool
2012-05-31 09:07:54 +00:00
Mikko Mononen
e6b1d141d2 Fixed warnings when compiling with -Wshadow. 2012-02-22 17:25:46 +00:00
Stephen Pratt
0ec4f993cb Crowd: Detail API documentation for primary members declared in DetourCrowd.h.
Also includes some minor updates to the path corridor documentation.
2011-10-04 18:57:17 +00:00
Mikko Mononen
9b80662206 Removed misplaced stdio.h. 2011-08-01 10:53:18 +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
Mikko Mononen
76444aa747 - Updated win32 project
- Fixed VC compile errors
2011-03-25 10:13:27 +00:00
Mikko Mononen
f85bb4c52c Fix for strange neighbours. Was using m_agents, instead agents in few places. 2011-03-15 07:30:55 +00:00
Mikko Mononen
e238288549 getNeibours() was accessing wrong agent list. 2011-03-11 17:28:39 +00:00
Mikko Mononen
5b4f8b6047 Allow different obstacle avoidance parameters. Changed update flags to be per agent, not per crowd. Added optional separation to steering. Added UI to change obstacle avoidance quality. 2011-02-06 12:52:08 +00:00
Mikko Mononen
6271b40ae6 Updated VC project and fixed compile warnings. 2011-01-31 07:33:01 +00:00
Mikko Mononen
1f2aea55f5 Fix for a crash in path queue. Bail out if cannot init obstacle query. 2011-01-30 20:43:16 +00:00
Mikko Mononen
7f2696cbbf First implementation of DetourCrowd off-mesh connection handling. 2011-01-30 17:11:20 +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