[C#] Apply Mesh to MeshInstance

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By MegaMech

How do I reference the root Spatial node? GetNode(“/root/Spatial”)
I tried “…” as well. The only way I see this new mesh instance is when I use this.AddChild()
I think it’s a bug actually…

    MeshInstance stars = new MeshInstance();
    stars.Mesh = (Mesh)GD.Load("res://starparticles1.obj");
    stars.Name = "test12";
    stars.Transform.Translated(randVect);
    spatials = (Node)GetNode("/root/Spatial");
    spatials.AddChild(stars);