When using the VRML importer, any objects that does not have their pivot in the center of the scene are moved to the center of the scene.
r94
Can you please share a VRML file that reproduces the mentioned behavior? The official example seems to work well. At least the following code section does read the position data correctly from the respective VRML file:
This may be a problem with my own code after all.
I will dive a bit deeper, and if this is indeed the case I will close this issue with an apology.
I will dive a bit deeper, and if this is indeed the case I will close this issue with an apology.
No problem. I've loaded the file in webgl_loader_vrml and see this:

Yes, it seems that this was an issue in my code, that had to do with detaching the object from its parent before the scene graph world matrices had been calculated.
Most helpful comment
Yes, it seems that this was an issue in my code, that had to do with detaching the object from its parent before the scene graph world matrices had been calculated.