Hey, as a beginner to 3D web dev and the needle engine, I am working on building an WebXR project for my prethesis and starting out with baby steps trial and error process. I managed to export and build a production demo with some help from @marwie1 & @ChaitanyaK but now I am trying to move forward by trying to by doing drag and drop interactions, annotations and more through VSCode like in this sample (and others) Collaborative Sandbox | Needle Engine
I’m actively going through three.js documentation but it’s a bit much for me to figure out all the coding stuff as I am not a coder by practice(far from it). I just wanted to know if there is any official needle documentation on how three.js has been integrated and how do I move forward with adding all the these touchpoints before moving to WebXR explorations
Hi have you seen Needle Engine Scripting | Needle Engine Documentation? The components in this sample are all part of needle engine core. Add a DragControls component and mayne ObjectRaycaster to the object you want to make dragable
Regarding webxr you can add the WebXR component to your scene on any object and start the local server with https (it starts automatically using https with the nodejs template that you are using i think). When you open the website on quest for example (or via quest link) you will see a start vr button. Or if you open on a ar capable phone youll see a open in ar button.
For scene placement in AR add a WebXRSessionRoot component to the root object of your scene. The userscale defines how big you are in AR (meaning big values make the content smaller)
Haven’t been through scripting page yet, the blender page is where I started but I can’t find a list that tells me what each component does in the object data panel
You can download all the scenes and explore them in unity. It’s linked at the top of the samples page (if you install Needle Engine for Unity you can also install them via the menu item at “Needle Engine/Explore Samples” in Unity)