godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
90.34k stars 21.06k forks source link

Wierd path using Navigation on 3D Gridmap #34139

Closed grusad closed 4 years ago

grusad commented 4 years ago

Godot version:

3.2.2

OS/device including version:

Linux Min

Issue description: by getting the path with optimization to false this is the path retrived. What is going on? The final target is correct but the path to travel to the target is not very good. Am i doing something wrong?

image

Steps to reproduce:

Create a navigation and give it a child gridmap with with a meshlib. Apply a navigationMeshinstance to the floortile. Draw a map with floor (navigationmeshinstance) and some walls. The moving object should be a kinematic body and apply get try moving the kinematicbody along the gridmap by getting the path from the Navigation.

Minimal reproduction project:

Calinou commented 4 years ago

@grusad Please upload a minimal reproduction project to make this easier to troubleshoot.

Calinou commented 4 years ago

I'll close this issue as no minimal reproduction project was provided in time. This issue can be reopened if someone uploads a minimal reproduction project.