Regular API function

simScaleObject / sim.scaleObject

Description Scales specified objects in a non-isometric fashion, if possible (i.e. some objects can be fully isometrically scaled, others have 2 or all 3 axes linked). See also the other size and scaling functions.
C/C++
synopsis
simInt simScaleObject(simInt objectHandle,simFloat xScale,simFloat yScale,simFloat zScale,simInt options)
C/C++
parameters
objectHandle: the handle of the object to scale.
xScale/yScale/zScale: the scaling factors along the object's x, y and z-axis.
options: reserved for future extension. Keep at 0.
C/C++
return value
-1 if operation was not successful
Lua
synopsis
sim.scaleObject(int objectHandle,float xScale,float yScale,float zScale,int options=0)
Lua
parameters
Similar to the C-function counterpart
Lua
return values
Python
synopsis
sim.scaleObject(int objectHandle,float xScale,float yScale,float zScale,int options=0)

<