sim.removeObjects

Removes one or several objects from the scene. Object destruction always destroys attached scripts before destroying the object itself. If a script triggers the destruction of the object it is attached to, then the object is first destroyed, and the script destruction is delayed

Synopsis

sim.removeObjects(int[] objectHandles) sim.removeObjects(int[] objectHandles)

Arguments

  • objectHandles: handles of the objects to remove


See also: