Regular API function

simScaleObjects / sim.scaleObjects

Description Scales specified objects. All related values are automatically scaled appropriately (e.g. masses, forces, etc.). See also the other size and scaling functions.
C/C++
synopsis
simInt simScaleObjects(const simInt* objectHandles,simInt objectCount,simFloat scalingFactor,simBool scalePositionsToo)
C/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/C++
return value
-1 if operation was not successful
Lua
synopsis
sim.scaleObjects(int[] objectHandles,float scalingFactor,bool scalePositionsToo)
Lua
parameters
Similar to the C-function counterpart
Lua
return values
Python
synopsis
sim.scaleObjects(list objectHandles,float scalingFactor,bool scalePositionsToo)

<