Object placement anchor in QuickLook AR

H i guys, im having problems setting placement for AR quicklook… It seems to use the object thats lower in Z… but I have a sphere that has to be lower than that. tried XR components setup but cant seem to find a way. if I remove the big sphere, anchor for placement goes to the actual floor. How to do it ?

To tackle the issue with the object placement anchor in QuickLook AR, you can adjust your setup using the Needle Engine components and configurations that control placement logic. Here are some steps you might consider:

  1. Use a Custom Reticle: Set a custom AR placement reticle in your scene to better manage the anchor point. You can assign a prefab or an object from your scene as the customARPlacementReticle in Needle Engine’s WebXR component configuration (see the documentation).

  2. Adjust AR Scale: Adjust the AR scale settings by changing the arScale property. This setting affects how the scene scales in AR. A larger value might help with the placement if objects are rendering out of view (see the documentation).

  3. Auto-Center Option: Enable the autoCenter property to calculate the scene center automatically. This ensures the center of the scene is used as the anchor point (see the documentation).

  4. Use XR Anchor: If your current setup isn’t sufficient, consider enabling the experimental useXRAnchor to ensure that the scene maintains the anchored point during the AR session (see the documentation).

  5. Placement Logic: In the WebARSessionRoot script, ensure that objects are correctly moved to a temporary scene during placement. This is done to avoid any rendering issues or conflicts when trying to place the scene (see the documentation).

For detailed guidance, you can review the Needle Engine documentation: Needle Engine Documentation and explore AR samples.

By configuring these settings, you can manage the placement anchor more effectively in QuickLook AR. You might want to adjust these configurations based on test results until you achieve the desired behavior and ensure that the large sphere is not affecting the placement logic.

Feel free to ask if you need more specific guidance on implementing any of these steps!

24 replies left
thread_zGNzAOxEZOmg3vxUcdXLMLIG
Reply to this message to continue the conversation

Hey, QuickLook auto-calculates bounds based on the first few frames, so what we usually do to work around that is to animate the objects that should go out of the bounds.

Make an animation where the object is small and inside bounds and then make it pop out after a moment - this way, the object will effectively ignored by the automatic bounds calculation.