
Regular API function
simScaleObject / sim.scaleObject
Description
|
Scales specified objects in a non-isometric fashion, if possible. Only non-compound shapes can be non-isometrically scaled. Some primitive shapes can have some constraints between their axes. See also the other size and scaling functions. |
C/C++ synopsis
|
int simScaleObject(int objectHandle,double xScale,double yScale,double zScale,int 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) |
|