sim.scaleObjects

Scales specified objects. All related values are automatically scaled appropriately (e.g. masses, forces, etc.)

Synopsis

sim.scaleObjects(list objectHandles, float scalingFactor, bool scalePositionsToo) sim.scaleObjects(int[] objectHandles, float scalingFactor, bool scalePositionsToo)

Arguments

  • objectHandles: array containing the handles of the objects to scale. If an object is a model base, all its child objects will also be scaled
  • scalingFactor: scaling factor
  • scalePositionsToo: if true, selected object's positions will also be scaled


See also: