maxicarlos08
8a5f237e9c
Frost gigas tweaks
2023-10-08 11:35:01 +00:00
Joshua Barretto
cfdf184c4c
Fix non-humanoid pathfinding and movement in water
2023-05-16 20:48:50 +01:00
Imbris
ed94c1c1b6
Fix existing bug with all site route costs be computed as 0
2023-04-20 22:22:21 -04:00
Imbris
92a42ced18
Apply experimental astar2 changes to the original impl
2023-04-20 21:53:59 -04:00
Isse
d1f6e6bef6
somewhat fix airships
2023-04-14 11:22:10 +02:00
Joshua Barretto
85c572f6e2
Better town layout
2023-04-09 19:25:57 +01:00
IsseW
9be6c7b527
Pathing between sites.
2023-04-09 19:25:53 +01:00
Marcel Märtens
cf6a764aa4
update toolchain to 2022-09-23
2022-09-25 15:58:32 +02:00
Hugo Peixoto
74d4e4f45e
Fix path finding calculation of starting point
...
When a chaser's route finishes calculating, the chaser may already be a
few blocks away from the starting position, thanks to movement inertia.
The path finding code finds the point along the route closest to the
chaser's position.
This calculation only considered the xy coordinates when finding the
closest point. This caused issues whenever the calculated route goes
below the chaser's position (for example, when the chaser is on top of a
bridge and the route circled around to go under the bridge). In this
case, there was a chance that the closest point was the one below the
bridge. This caused the chaser to try to move directly to a directly
inaccessible block.
The fix was to remove the xy() filter so that the closest point
algorithm also considered the z coordinate.
2022-05-14 16:41:45 +01:00
Hugo Peixoto
b681ad79ce
Fix heuristic to restart route in chase()
...
We had a random chance of restarting the route to avoid getting the
chaser stuck. This didn't work properly because the rerouting code was
only triggered if `self.route.is_none()` or if the target moved
significantly, and the random chance branch only set `bearing` to `None`.
This change sets `self.route = None` to trigger rerouting.
2022-05-14 16:41:45 +01:00
Hugo Peixoto
ba6d1bce60
Remove unnecessary code
...
We had an unnecessary unwrap_or_else() preceded by a question mark
operator, which means that the or_else clause could never be called.
2022-05-14 16:41:45 +01:00
Imbris
bf48bd5346
update toolchain to nightly-2021-12-19
2021-12-23 13:04:24 +01:00
Jonathan Berglin
596307c9b7
Remove unused clippy suppressions
2021-12-05 17:59:02 +00:00
James Melkonian
36884d6919
Move rrt algorithm into its own function
2021-09-17 16:27:00 -07:00
James Melkonian
9875a74640
Make RRT pathfinding a cfg feature
2021-09-17 16:01:20 -07:00
James Melkonian
c2c4429750
Disable RRT pathfinding
2021-09-17 16:01:19 -07:00
James Melkonian
7ddc229728
Initial RRT flight pathfinding
2021-09-17 16:01:19 -07:00
Imbris
a612631aa4
Add comment on tuple bool field meaning in pathing
2021-08-21 15:19:12 +00:00
Marcel Märtens
4ebfbdde0f
Move Specs code to own common_ecs create, put tracy and macros into common_base
2021-03-09 00:54:01 +01:00
Joshua Barretto
862cd5fe49
fmt
2021-03-07 14:25:03 +00:00
Joshua Barretto
7d94c3600f
New town layouts, initial progress
2021-03-07 14:25:02 +00:00
Joshua Barretto
b9b36e0bf5
Merge branch 'zesterer-master-patch-28400' into 'master'
...
Fix jump routes not being pathed
See merge request veloren/veloren!1706
2021-02-28 00:41:38 +00:00
Joshua Barretto
6051c06462
fmt
2021-02-27 23:21:01 +00:00
James Melkonian
23b1df3cdd
Add basic NPC interaction and fix NPC chat spamming
2021-01-31 20:29:50 +00:00
Joshua Barretto
1223519ea1
Fix jump routes not being pathed
2021-01-20 14:39:01 +00:00
ubruntu
ae366e03c5
Reduced downward fall of birds, Humanoid travelers no longer visit dungeons, birds only travel between dungeons
2021-01-05 01:04:01 +00:00
Sam
33e4448542
Replaced every unnecssary powf in the entire codebase with either powi or sqrt.
2020-11-24 18:28:24 -06:00
Joshua Barretto
26fd40c0e3
Fmt, make clippy happy
2020-11-23 15:39:03 +00:00
Joshua Barretto
de685b00b2
Improved water pathfinding
2020-11-23 10:45:01 +00:00
Joshua Barretto
71b7e1ef90
Better non-climbing NPC pathfinding in rivers
2020-11-23 10:45:01 +00:00
Joshua Barretto
b352ef5d55
Terrain pop-in, fixed agent pathfinding in water
2020-11-23 10:45:01 +00:00
Joshua Barretto
6331ad9455
Implemented Flight
2020-11-03 22:46:07 +00:00
Joshua Yanovski
938039a56e
Remove spurious uses of Vox.
...
In the process, also try to address a few edge cases related to block
detection, such as adding back previously solid sprites and removing
filters that may be vestiges of earlier logic.
2020-09-26 16:30:40 +02:00
Joshua Barretto
ece4a01867
Improved representation of Block for better performance, more features, and better backwards-compatibility
2020-09-20 11:46:12 +01:00
Imbris
f39d1e9bb5
Use less verbose span names when the tracy feature is off
2020-09-07 00:59:16 -04:00
Imbris
e37a01be9d
Sprinkle instrumentation in common crate,in particular in the ecs systems
2020-09-06 22:28:14 -04:00
Joshua Barretto
37b45ba5f4
Addressed review issues
2020-08-25 11:01:17 +01:00
Joshua Barretto
7af1b45d5f
Better pet pathfinding
2020-08-24 12:36:27 +01:00
Joshua Barretto
50a85853e3
Fmt and clippy lints fixes
2020-08-12 21:16:14 +01:00
Joshua Barretto
85ed5ad356
Updated changelog, cleaned up warnings, minor fixes
2020-08-12 21:16:11 +01:00
Joshua Barretto
9329b4ce55
Added monsters to caves
2020-08-12 21:15:53 +01:00
Joshua Barretto
d7ccb28ea7
Pathfinding improvements
2020-08-12 21:15:53 +01:00
Joshua Barretto
d48ed42fda
Prevented NPCs running gleefully off cliffs without a second thought
2020-08-12 21:15:53 +01:00
Joshua Barretto
dfecf0dad6
Massively improved pathfinding reliability
2020-08-12 21:15:53 +01:00
Joshua Barretto
0bad704719
Made agents flee
2020-08-12 21:15:53 +01:00
Joshua Barretto
3e5c3de2ac
Neater compass
2020-07-13 23:23:44 +01:00
Joshua Barretto
cf69d0c5d8
Added minimap compass
2020-07-10 15:00:20 +01:00
Joshua Barretto
951a977b2f
Improved hill path following
2020-07-10 00:43:11 +01:00
Joshua Barretto
ac30fcbd0e
Commented unused but potentially useful code
2020-07-09 16:54:10 +01:00
Joshua Barretto
47e413c530
Improved pathfinding tolerance and reliability
2020-07-09 16:54:10 +01:00