andriyDev / bevy_landmass

A crate for Bevy to use landmass.
Apache License 2.0
7 stars 1 forks source link

Make nav meshes an asset. #13

Closed andriyDev closed 11 months ago

andriyDev commented 11 months ago

Changing a nav mesh is annoying. It requires modifying every entity to point to the new nav mesh.

Instead we can make nav meshes an asset. This means entities can just get a handle when they're spawned, and then the nav mesh can be filled in later (e.g., through async loading or whatever).