Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Seldom-SE/seldom_map_nav
/ functions
Functions
46 in github.com/Seldom-SE/seldom_map_nav
⨍
Functions
46
◇
Types & classes
25
↓ 12 callers
Method
add_assn
(&mut self, rhs: Ordinal)
src/vertex.rs:181
↓ 7 callers
Method
as_vec2
(self)
src/vertex.rs:130
↓ 7 callers
Method
get
(&self)
src/pos.rs:16
↓ 3 callers
Method
add
(self, rhs: Ordinal)
src/vertex.rs:165
↓ 3 callers
Method
axis
(self)
src/vertex.rs:39
↓ 3 callers
Method
neg
(self)
src/vertex.rs:15
↓ 2 callers
Method
to_iso
(self)
examples/isometric.rs:57
↓ 1 callers
Method
contains_cardinal
(self, other: Cardinal)
src/vertex.rs:72
↓ 1 callers
Function
generate_navmesh
Generate a navmesh for your tilemap. The input to `navability` is a tile's position.
src/mesh.rs:158
↓ 1 callers
Function
init_inner
(commands: &mut Commands, asset_server: &Res<AssetServer>)
examples/state.rs:102
↓ 1 callers
Method
mesh
Gets the navmesh with the least amount of clearance greater than or equal to the given clearance
src/mesh.rs:56
↓ 1 callers
Method
normals
(self)
src/vertex.rs:151
↓ 1 callers
Method
ordinals
(self)
src/vertex.rs:22
↓ 1 callers
Method
parts
(self)
src/vertex.rs:121
↓ 1 callers
Method
reflect
(self, other: CardinalAxis)
src/vertex.rs:104
↓ 1 callers
Method
set
(&mut self, pos: Vec2)
src/pos.rs:20
↓ 1 callers
Method
set
(&mut self, pos: Vec2)
examples/isometric.rs:41
↓ 1 callers
Method
shared_cardinal
(self, other: Self)
src/vertex.rs:86
Method
build
(&self, app: &mut App)
src/plugin.rs:11
Function
click
(mouse: Res<ButtonInput<MouseButton>>, cursor_position: Res<CursorPos>)
examples/state.rs:9
Method
default
()
src/plugin.rs:17
Method
fmt
(&self, f: &mut Formatter<'_>)
src/mesh.rs:96
Method
from
(error: cdt::Error)
src/mesh.rs:146
Method
from_iso
(mut iso: Vec2)
examples/isometric.rs:48
Method
generate
Generate navmeshes for your tilemap. The input to `navability` is a tile's position. `clearances` will be sorted for you.
src/mesh.rs:34
Function
generate_paths
( #[cfg(feature = "state")] mut commands: Commands, positions: Query<&P>, mut pathfinds: Query<(En
src/nav.rs:96
Method
get
(&self)
examples/isometric.rs:36
Function
init
(mut commands: Commands, asset_server: Res<AssetServer>)
examples/nav.rs:23
Function
init
(mut commands: Commands, asset_server: Res<AssetServer>)
examples/state.rs:51
Function
init
( mut materials: ResMut<Assets<StandardTilemapMaterial>>, mut textures: ResMut<Assets<TilemapTextures>
examples/isometric.rs:93
Function
main
()
examples/nav.rs:7
Function
main
()
examples/state.rs:30
Function
main
()
examples/no_bevy.rs:28
Function
main
()
examples/isometric.rs:66
Method
mesh_at
Gets a navmesh at the given index. Navmeshes are sorted from least to most clearance.
src/mesh.rs:64
Method
mesh_count
Gets the number of navmeshes
src/mesh.rs:70
Function
move_player
Navigate the player to wherever you click
examples/nav.rs:76
Function
move_player
Navigate the player to wherever you click
examples/state.rs:72
Function
move_player
Navigate the player to wherever you click
examples/isometric.rs:214
Function
nav
( #[cfg(feature = "state")] mut commands: Commands, mut navs: Query<(Entity, &mut P, &mut Pathfind, &m
src/nav.rs:177
Method
new
Create a `Pathfind`
src/nav.rs:50
Function
plug
(app: &mut App)
src/nav.rs:8
Function
translate_coords
Update isometric positions to match square positions
examples/isometric.rs:244
Function
update_cursor_pos
( cameras: Query<(&Camera, &GlobalTransform)>, windows: Query<&Window>, mut position: ResMut<Curso
examples/nav.rs:114
Function
update_cursor_pos
( cameras: Query<(&Camera, &GlobalTransform)>, windows: Query<&Window>, mut position: ResMut<Curso
examples/state.rs:152
Function
update_cursor_pos
( cameras: Query<(&Camera, &GlobalTransform)>, windows: Query<&Window>, mut position: ResMut<Curso
examples/isometric.rs:198