Skip to content

Scattering multiples objects

You can also scatter more than one model/mesh just by passing an array to the constructor

js
import { ThreeScatter } from 'three-scatter'

const scatter = new ThreeScatter(count, surface, [model1, model2]);
scene.add(scatter);