diff --git a/pyrep/backend/sim.py b/pyrep/backend/sim.py index 35b842c..2abfab1 100755 --- a/pyrep/backend/sim.py +++ b/pyrep/backend/sim.py @@ -750,6 +750,13 @@ def simScaleObject(shapeHandle, scale_x, scale_y, scale_z): _check_return(ret) +def simScaleObjects(objectHandles, scale, scalePositionsToo=False): + handles = ffi.new("int[]", objectHandles) + ret = lib.simScaleObjects(handles, len(objectHandles), scale, + scalePositionsToo) + _check_return(ret) + + def simGetObjectSizeFactor(shapeHandle): return lib.simGetObjectSizeFactor(shapeHandle)