Regular API function


Description Creates a new collection. See also simRemoveCollection and simAddObjectToCollection.
C synopsis simInt simCreateCollection(const simChar* collectionName,simInt options)
C parameters
collectionName: the name of the collection.
options: bit-coded options:
bit 0 set (1): collection overrides collidable, measurable, renderable, cuttable and detectable properties.
C return value
-1 if operation was not successful, otherwise the handle of the new collection.
Lua synopsis number collectionHandle=simCreateCollection(string collectionName,number options)
Lua parameters
Same as C-function
Lua return values
Same as C-function

All regular API functions on one page