Hey there,
Coming to Godot from Unity. I'm wondering how I would go about getting a specific type, like NavMesh, from an object added to a group - I don't really see why this code wouldn't work. If possible I'd prefer to avoid querying parents and such to find the component

Node navMeshObject = GetTree().GetNodesInGroup("NavigationMesh")[0];
navMesh = (NavigationMesh)navMeshObject;

  • xyz replied to this.

    srRhaz NavigationMesh is not a node type, it's a resource that a node can refer to.