@foumfo said:
@TwistedTwigleg said:
@foumfo said:
Is it possible for a mesh with a spatial as parent to work in a gridLibrary and gridmaps?
I did some testing using the default shapes included with MeshInstance nodes, and unfortunately it appears to ignore the parent Spatial node and any offsets. I also tried parenting a MeshInstance node to another MeshInstance node in a GridMap/MeshLibrary, but alas it also didn't work and instead just completely ignored both nodes.
It appears that for a GridMap/MeshLibrary, there is no way to offset the MeshInstance node. I was surprised, as I thought it would respect the offset from the parent Spatial node so long as it was not the root spatial node, but it appears that is not the case.
Maybe this should be a feature request on the GitHub repository?
I even tried it with a MultiMesh. Nothing.
Has anyone ever done this request?
Good to know that both GridMap and MultiMesh nodes do not seem to take parent Spatial nodes into account when converted. My guess is that in the converting process, it does not process the offset(s) from Spatial nodes.
It seems there is one issue sort of relating to the problem, but with children of the MeshInstance node instead of the MeshInstance node itself.
I'm not sure if the conversion from scene to MeshLibrary should be a new issue, or is a duplicate of the issue above. The issue above is more about positioning children nodes rather than the MeshInstance node itself, but on the other hand, a fix for one may fix the other.