0 votes

I create meshes at runtime in Godot and I want to have navigation working on them but as far as I know there is no way to bake the meshes into navmesh. So, what I have: Some meshes. What I need: Navmesh made out of them based on character radius, I don't care about what slope he can climb and stuff like that for now.

I already found a way to combine these meshes into one in gdscript. I don't need a language specific answer though.

I need an algorithm that for example from a square creates a smaller square, or from an arrow shape, create a smaller arrow shape, based on character radius.

in Engine by (146 points)

1 Answer

0 votes

In case anyone else finds this question on google, this great open-source library by Angus Johnson provides this functionality and other polygon math.

by (14 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.