-1

I'm using: ARView, RealityFoundation

I am using the following source code to add boxes to ARView enter image description here But now it will draw boxes (mesh), my goal just want to draw bounding boxes (depicted in the following image) enter image description here

I think to change ModelComponent(mesh: mesh, materials: [material]) => another data type, but I can't do it yet.

any of your answers are appreciated by me.

AnhTuan
  • 205
  • 3
  • 6

1 Answers1

0

You can follow the apple documentation regarding "Scanning and Detecting 3D Objects".

Link: Apple Documentation

You can also follow this writing to have more detailed idea:

Bounding box to anchor