FyroxEngine / Fyrox

3D and 2D game engine written in Rust
https://fyrox.rs
MIT License
7.61k stars 340 forks source link

Integrate NavMesh in scene graph as a separate node type #443

Closed mrDIMAS closed 1 year ago

mrDIMAS commented 1 year ago

Current approach of using navigational meshes a separate entity "living" in its own container is ok in simple cases, but this approach has its downsides:

1) Navigational meshes cannot be put in prefabs and be instantiated as any other scene node 2) They cannot use property inheritance 3) Navmesh management is quite convoluted

A separate NavMesh scene node would solve all these issues.