… basically, to launch the AR content in Scene Viewer so that it can be repositioned, scaled and rotated by the user?
I’m certain that there’s a much (much!) more elegant solution to allowing users to reposition, scale and rotate AR (I know that @ROBYER1, you produced something that looked really amazing ) but unfortunately getting those other options to work is a bit beyond my capabilities at this point. So, I ended up wondering if launching into Scene Viewer might be a simple workaround for me but I wanted to check, first, that it doesn’t ‘mess anything up’ if I use the method I’ve described.
I personally wouldn’t recommend SceneViewer, it is quite dated by now (even Google doesn’t use it anymore, they switched to WebXR too) and has a bunch of rendering issues
I have my own AR controls for WebXR AR on Android here which I have shared on Github - anyone is welcome to contribute or suggest improvements. It’s not perfect but I’m using it in production for Android AR, Apple AR is handled by Quick Look on iOS as the alternative https://discord.com/channels/717429793926283276/1088477952263598110
Hi again and big thanks for the replies. They’re much appreciated!
herbst, I did run some tests using the Scene Viewer ‘method’ and it worked… kinda… but I totally agree, it’s definitely quite flaky and not ideal by any means.
ROBYER1, I spotted your brilliant solution when you first posted it up and I scooted straight over to check it all out on GitHub but, sadly, I couldn’t figure out how to implement it. The demo looks great and works really well but, when I downloaded a zip of the repo, the Unity project didn’t contain any scene content and I couldn’t get my head around where things were supposed to be placed or applied.
I’ve probably missed something, so I’ll definitely take another look
As mentioned, I’m afraid that this is beyond my capabilities, until I become more experienced with Unity/Needle etc anyway. Many thanks for your suggestion, though @ROBYER1. Much appreciated
If you just want to clone the web project from the repository Robert linked you can paste this link in the ExportInfo and it should download what you need if you’re using latest Needle Engine: https://github.com/ROBYER1/Needle-AR-Demo?path=Needle/ARDemo - with that you get the web project folder in the repository cloned to run it locally - it contains the scripts you’re interested in
I think you need to open the script directory right now and save each script again so it generates the Unity components. That doesnt happen automatically right now - I’ll make a task internally for that