0 votes

Hey Guys!

I am so hard crying that i cant fix my Problem in my 3D Project with a navmesh.

  1. How can i get a Position from a node in a other Scene?
  2. How can i use the getsimplepath?
  3. How can i make my RigidBody to follow that path to my Player?

i can't find anything on WWW and asked in several Forum. Would be very nice if somebody hat a solution for that or a demo Project.

thank you guys

asked May 3, 2019 in Engine by fa019 (12 points)

In the SceneTree of the instanced scene, you may be able to get an array of child nodes in that scene (I think the function is get_children()). Then you can walk through the array and find the node you want. Once you find that node, getting its global position isn't that difficult.

I would like to help with the get_simple_path() function, though, but I've experimented little with pathfinding.

Please log in or register to answer this question.

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.