Regular API function

simScaleObjects

Description Scales (in dimensions) specified objects. All related values are automatically scaled appropriately (e.g. masses, forces, etc.). See also simScaleObject for non-isometric scaling.
C synopsis simInt simScaleObjects(const simInt* objectHandles,simInt objectCount,simFloat scalingFactor,simBool scalePositionsToo)
C parameters
objectHandles: an array containing the handles of the objects to scale. If an object is a model base, all its child objects will also be scaled.
objectCount: the number of handles in the objectHandles array.
scalingFactor: the scaling factor
scalePositionsToo: if true, selected object's positions will also be scaled
C return value
-1 if operation was not successful. In a future release, a more differentiated return value might be available
Lua synopsis number result=simScaleObjects(table objectHandles,number scalingFactor,boolean scalePositionsToo)
Lua parameters
Same as C-function
Lua return values
Same as C-function

All regular API functions on one page