Regular API function

simSetObjectProperty / sim.setObjectProperty

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