Is there a way to know the coordinates of an imported 3d gltf model? I want to place a 3d object on a specific part of the model(kind of merging the model and a 3d geometry).
What do you mean with coordinates? Are you referring on the position
of the model? Or on vertex data?
Position of a specific object in the canvas
Well, you get the local position of a 3D object via Object3D.position. If the object has no parent, this is also the position in world space. If it’s a nested object, you can get the position in world space via Object3D.getWorldPosition().
1 Like
Rather than the object’s position, can I get the coordinates/position of a point in the object?