sim.createCollection

Creates a new collection. A collection created in a child script, a customization script or in the main script are automatically destroyed when the script ends

Synopsis

int collectionHandle = sim.createCollection(int options) int collectionHandle = sim.createCollection(int options = 0)

Arguments

  • options: bit-coded options:
    • bit 0 set (1): collection overrides collidable, measurable, detectable properties, and also the visibility state of its objects.

Return values

  • collectionHandle: handle of the new collection


See also: