simCreateCollection

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

C++ synopsis

int simCreateCollectionEx(int options)

Arguments

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

Return

  • -1 if operation was not successful, otherwise the handle of the new collection.


See also: