Regular API function

simSetObjectSpecialProperty / sim.setObjectSpecialProperty

Description Sets the special properties of a scene object. See also sim.getObjectSpecialProperty, sim.setObjectProperty and sim.setModelProperty.
C synopsis simInt simSetObjectSpecialProperty(simInt objectHandle,simInt prop)
C parameters
objectHandle: object handle
prop: object special property. See the object special property values. Combine them with the "or"-operator
C return value
-1 if operation was not successful
Lua synopsis sim.setObjectSpecialProperty(number objectHandle,number prop)
Lua parameters
Similar to the C-function counterpart
Lua return values

All regular API functions on one page