Regular API function

simSetObjectSizeValues / sim.setObjectSizeValues

Description Sets the x, y and z size values of a scene object. The size values are different from the real object sizes. Use this to be able to react to scaling operations. See also sim.getObjectSizeValues.
C synopsis simInt simSetObjectSizeValues(simInt objectHandle,const simFloat* sizeValues)
C parameters
objectHandle: handle of the scene object
sizeValues (input): a pointer to 3 size values (x, y and z)
C return value
-1 in case of an error
Lua synopsis number result=sim.setObjectSizeValues(number objectHandle,table_3 sizeValues)
Lua parameters
Same as C-function
Lua return values
Same as C-function

All regular API functions on one page