I am using Image targets to place a Depthkit object in 8th wall, but my object does not stay at the same place when I move my device, it changes position around the image when I move my phone.
I am using a script similar to the following project:
When I replace the Depthkit object by the jelly fish model from the above template in my project, everything works fine and the object does not move when I move the device.
I noticed that on the line “depthkit.scale.set”, when I update the last parameter as follows:
“depthkit.scale.set(detail.scale = 20, detail.scale = 20, detail.scale = 1)”, there is no issue anymore and the object stops moving when moving the device (but the object looks flat).
Is there a way to prevent the object from moving, without getting a flat object?
I posted my issue in the 8th wall forum, but didn’t get a resolution so far, so I am also posting here for help to solve this issue. The issue seems related to the Depthkit object because the project works well with other objects.
Hi, @NAL - Is this a project you can share? If not, can you setup another project to reproduce the same error and share that so that the team can take a look and narrow down the cause?
@NAL Thanks for DM’ing me the test project. Unfortunately, the Depthkit asset does not load when I open the scene on my phone - It does however load the Jellyfish when I point it to the poster.
To clarify your overall goal, are you trying to get a Depthkit volumetric video to render anchored to an image target in the 8th Wall scene? Our projects are intended to get you started with a fully-built Depthkit Streaming Geometry player, but changing the tracking method for the AR session or Depthkit object is a bit outside the scope of what our team directly supports.
I think the image target tracking is already working with Depthkit assets.
I have checked with different people who have different devices, and they were able to load the asset. Are you still not able to see the depthkit asset in the project?
I have replaced the jelly fish model by your depthkit studio asset (should appear when you look at the image top left). It seems to work with your asset, meaning that the hologram does not move around the image when moving the device. However, it doesn’t work the same way with my depthkit core asset (should appear when you look at the image bottom right) - here the hologram changes place when moving the device.
Do you think something could be done for the depthkit core asset to work the same way as the depthkit studio asset?