Search Unity

Resolved Delete meshing data (from scanned LiDAR data)

Discussion in 'AR' started by eco_bach, Feb 13, 2021.

  1. eco_bach

    eco_bach

    Joined:
    Jul 8, 2013
    Posts:
    1,601
    After scanning a 3d environment and creating a mesh I am placing several anchored 3d objects.
    I would like to delete the scanned mesh, just leaving my placed 3d objects.

    I know the mesh is controlled by ARMeshManager and is constantly being updated.

    Can anyone tell me how I might delete this mesh and turn off the dynamic meshing process?
     
  2. FrankvHoof

    FrankvHoof

    Joined:
    Nov 3, 2014
    Posts:
    258
    If you're completely done with scanning, you can disable the ARMeshmanager (which will in turn stop the Subsystem).
    Destroying the Meshes can be done by destroying their GameObjects.

    I you're not done with with scanning (i.e. you want to delete meshes while still scanning for new ones), the easiest way would be to disable the renderers & colliders on the Mesh-GameObjects (otherwise the Provider would just re-add them).
     
  3. eco_bach

    eco_bach

    Joined:
    Jul 8, 2013
    Posts:
    1,601
    Thanks for the feedback!