import React from 'react'
import MaterialSpawner from './materialSpawner'
import ColliderCreator from './colliders/colliderCreator'

function PhysicsSimulator() {
    return (
        <>
            <MaterialSpawner
                position={[0, 3, 0]}
                spawnInterval={1000}
                spawnCount={15}
            />
            <MaterialSpawner
                position={[-21, 3, -8]}
                spawnInterval={1000}
                spawnCount={5}
            />
            <MaterialSpawner
                position={[-17, 3, 6]}
                spawnInterval={1000}
                spawnCount={50}
            />
            <ColliderCreator />
        </>
    )
}

export default PhysicsSimulator
