Creating a plane detection cursor for placing models

Hello, I am looking for a way to detect horizontal surfaces and place a cursor detected surfaces (A-Frame). If this is not yet a feature, is there a work around?

I found a 4 year old source that shows exactly what I want to achieve, but I think it may be outdated. Any suggestions on how to achieve this today (2024).
Link: https://github.com/stspanho/aframe-hit-test/tree/master

Thanks!

Here is an example project that does that.

Keep in mind however, that 8th Wall doesn’t update the detected horizontal surface. Once the camera is intially opened, whatever the largest detectable horizontal surface in the camera view will be set for the entirety of the experience.

1 Like

Here is another cursor place ground example project

1 Like