sim.subtractObjectFromOctree

Removes an object from an OC tree, as voxel subtractions

Synopsis

int totalVoxelCnt = sim.subtractObjectFromOctree(int octreeHandle, int objectHandle, int options) int totalVoxelCnt = sim.subtractObjectFromOctree(int octreeHandle, int objectHandle, int options)

Arguments

  • octreeHandle: handle of the OC tree
  • objectHandle: handle of the object to subtract. Only potentially collidable objects are supported
  • options: reserved. Set to 0

Return values

  • totalVoxelCnt: total number of voxels in the OC tree


See also: