Commit Graph

35 Commits (main)

Author SHA1 Message Date
Martin Felis 06b808c10d Fixed tile masks, made path smoothing optional. 2023-12-29 17:43:04 +01:00
Martin Felis cfb731c27e Intermediate commit 2023-12-14 17:27:07 +01:00
Martin Felis 2109c6b6ec Moved path planning to world class.
- Tree entities now are obstacles in navigation planning.
 - Once chopped obstacles are removed.
2023-11-18 22:11:34 +01:00
Martin Felis b968f9b3b2 Navigation with plange angle targets now functional again. 2023-11-10 12:22:17 +01:00
Martin Felis c59d92618b Tile instancing now working, also fixed navigation bounds. 2023-11-10 11:11:08 +01:00
Martin Felis 5cabf4ca28 Fixed exception when planning results in an empty path. 2023-11-01 12:34:28 +01:00
Martin Felis 0160e72eec Fixed angle stuttering when reaching target. 2023-11-01 12:33:04 +01:00
Martin Felis a0a3fea598 Chunk based world generation works.
Still missing:
- world population (trees, grass, rocks)
- chunk saving/loading
2023-10-30 22:20:32 +01:00
Martin Felis d918da6fd6 Somewhat improved GroundMotionComponent. Still buggy, though. 2023-10-27 23:00:54 +02:00
Martin Felis d70d9cd682 For planned paths use the current position as the first NavigationPoint. 2023-10-27 22:11:45 +02:00
Martin Felis 01fde34276 Setting better bounds when performing Path search. 2023-10-27 21:49:37 +02:00
Martin Felis 83265f5838 Added TestCase for which CheckSweptTriangleCellCollision does not terminate. 2023-08-29 12:23:20 +02:00
Martin Felis 39f20c8e01 Some improvements with path smoothing and interactions. 2023-08-28 18:22:28 +02:00
Martin Felis 232caf2e8b Added NavigationComponent::CheckSweptTriangleCellCollision(). 2023-08-13 22:03:10 +02:00
Martin Felis 0cbff2a298 Minor style cleanup. 2023-08-13 21:20:45 +02:00
Martin Felis 87f7af88f8 Navigation: filtering out invalid start and end points. 2023-07-28 22:22:19 +02:00
Martin Felis 3f09b3102a FindPath and PathSmoothing somewhat working together. 2023-07-16 20:38:39 +02:00
Martin Felis 2ed41b6236 Pathsmoothing should work now for simple paths... I hope. 2023-07-15 00:39:38 +02:00
Martin Felis efb934c441 Minor cleanup path smoothing and entities scenes. 2023-07-14 18:03:50 +02:00
Martin Felis 42d7658d03 Some effort for path smoothing. 2023-07-09 22:18:25 +02:00
Martin Felis 1397c0a7eb Started working on navigation / editing sandbox. 2023-07-09 00:16:37 +02:00
Martin Felis 5f3600e0e9 Added debug drawing helper class, navigation planning is only done once instead of every frame. 2023-07-07 17:27:05 +02:00
Martin Felis 56ae5869e8 Started drafting path smoothing algorithm 2023-07-01 09:50:41 +02:00
Martin Felis c8921bfb7b Navigation now grid based again. 2023-06-29 23:07:29 +02:00
Martin Felis 1ae17ed63b Pathplanning now ignores grid. 2023-05-03 12:10:01 +02:00
Martin Felis 1693b63730 Fixed movement stopping between tiles. 2023-05-03 12:01:02 +02:00
Martin Felis f7dca6ae20 Fixed orientation-then-interaction. 2023-05-01 19:22:14 +02:00
Martin Felis 8d439e518b Gold bars are now spawned from chests. 2023-04-28 14:27:25 +02:00
Martin Felis 3e90e3fad0 Minor improvements? 2023-02-15 20:59:22 +01:00
Martin Felis 3a652ef683 Interaction with Chests! 2023-02-12 21:15:00 +01:00
Martin Felis 70724899ad Some moar movement improvements. 2023-02-12 16:49:47 +01:00
Martin Felis f3108b13f5 Slight movement improvements. 2023-02-12 16:44:48 +01:00
Martin Felis 716654a6fd NavigationComponent can handle position and orientation targets. 2023-02-12 16:30:56 +01:00
Martin Felis e3098c65a3 Simple navigation now working but feels shitty. Keep it for now. 2023-01-04 21:29:42 +01:00
Martin Felis c7349f4cee WIP added navigation component, worked on ground motion component, added hexcell line to and distance functions. 2023-01-03 17:58:07 +01:00