How to use the Godot Headless version to bake NavigationMeshInstance?

nightrobinnightrobin Posts: 11Member
edited June 4 in Exporting

I really need this feature because my game has a feature to allow players to make their own map.
Any help is appreciated. Thanks :)


Tags :

Comments

  • TwistedTwiglegTwistedTwigleg Posts: 2,666Admin

    In Godot 4.0, with the new NavigationServer, it should be possible to bake NavigationMeshInstances during runtime with Godot, which should also work with the headless version of Godot. I'm not sure for Godot 3.2+ though, I haven't really done much with the Navigation stuff in Godot.

    You can make a NavigationMesh from a Mesh class though! You just need to use the create_from_mesh function in NavigationMesh. It might be a way to allow players to make their own navigation meshes.

  • nightrobinnightrobin Posts: 11Member

    Thanks TwistedTwigleg!
    I'll check that create_from_mesh function

  • nightrobinnightrobin Posts: 11Member

    I tried, it doesn't work :# , but big thanks for the help :)
    I decided to use Godot 4.0 instead :)

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file