Closed phanhongphucit closed 4 years ago
You are setting a very large position offset from the image target. The model is likely just very far away and therefore you don't see it in view. Prove this to yourself by setting a much smaller position offset.
Original:
<a-entity xrextras-named-image-target="name: model-target">
<!-- Add a child entity that can be rotated independently of the image target. -->
<a-entity xrextras-one-finger-rotate gltf-model="#jelly-glb"></a-entity>
</a-entity>
Result:
With offset:
<a-entity xrextras-named-image-target="name: model-target">
<!-- Add a child entity that can be rotated independently of the image target. -->
<a-entity position="0.5 0.5 0"xrextras-one-finger-rotate gltf-model="#jelly-glb"></a-entity>
</a-entity>
Result:
Hi,
I have an image recognization and would like to change the position of 3D model relative to the image. But the following code with attribute position does not work:
Could you please help? Thank you