Regular API function

simGetObjectSizeValues

Description Retrieves 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 simSetObjectSizeValues and simGetObjectSizeFactor.
C synopsis simInt simGetObjectSizeValues(simInt objectHandle,simFloat* sizeValues)
C parameters
objectHandle: handle of the scene object
sizeValues (output): a pointer to 3 size values (x, y and z)
C return value
-1 in case of an error
Lua synopsis table_3 sizeValues=simGetObjectSizeValues(number objectHandle)
Lua parameters
Same as C-function
Lua return values
Same as C-function

All regular API functions on one page