def add(self, objs, categorybits=None, collidebits=None): """Add a world object to the simulation. \param objs World objects to be simulated (given as names or objects) """ objs = cmds.worldObjects(objs) for obj in objs: self._add(obj, categorybits, collidebits)