
simSubtractObjectFromOctree
Removes an object from an OC tree, as voxel subtractions
C++ synopsis
int simSubtractObjectFromOctree(int octreeHandle, int objectHandle, int options, void* reserved)
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
- reserved: reserved for future extensions. Set to nullptr
Return
- -1 if operation was not successful, otherwise the total number of voxels in the OC tree
See also:
|