Commit Graph

43 Commits (4c0a2e7714d62b88aea58d5a15fa242ab8704353)

Author SHA1 Message Date
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 2e7f30e214 Improved interactions.
- Interactions can now be stopped by both participating Entities.
- Player animation now controlled by AnimationTree.
2023-06-26 22:34:48 +02:00
Martin Felis c982ec783c Vastly improved interactivity, wired up some animations. 2023-06-23 15:39:40 +02:00
Martin Felis e84fddf102 WIP: fixing heighmap and colormap mismatch. 2023-05-20 12:27:30 +02:00
Martin Felis d3a36f438b Getting generated color texture works, now fix the height offset... 2023-05-11 22:26:06 +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 1597903d13 Added ClickableComponent. Not sure what to do with it, though... 2023-04-28 14:20:52 +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 14e5d47d91 Initial Chest interaction setup. 2023-01-04 22:49:00 +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
Martin Felis 3ed113dd41 Tweaking GroundMotionComponent 2022-12-31 18:36:52 +01:00
Martin Felis 385ed55505 Started refactoring entity movement and structure. 2022-12-28 21:57:34 +01:00
Martin Felis 041d580550 Noise based map generation, movement component uses height. 2022-12-28 16:22:53 +01:00
Martin Felis 91863845c5 Added little pirate and better movement. 2022-12-06 21:06:25 +01:00
Martin Felis 5209657cef Minor tweaks. 2022-12-04 21:54:44 +01:00
Martin Felis c3bca6b208 Random progress 2022-09-21 14:09:31 +02:00
Martin Felis a9c7e62d06 Added CollisionLine, renamed folders 2022-08-25 14:10:02 +02:00