Closed antoniohof closed 1 year ago
@xeolabs have any way to rotate this gltf loaded?
I can change the position with (not best way):
model.entityList.forEach((entity) => {
entity.offset = [curPosition.x, curPosition.y, curPosition.z];
});
This feature is coming in the next release, but is now pre-released in the latest alpha release on npm.
We have some low-level examples here, where we update position
and rotation
properties on the SceneModel
, which do what you need:
Hi, I'm trying to rotate an .gltf after loading it, but can't find the proper way to do it.
I can only load it using the GLTFLoaderPlugin, is there a way to get a Mesh when loading with GLTFLoaderPlugin?
When I try to load it using the parseGLTFIntoXKTModel, it gives out a texture error: "Basis Universal Supercompressed GPU Texture encoder Error"
Is this the right way?