constructor({
        fps = 60,
        timestep = 1 / fps,
        broadphase = BroadPhaseType.BVH,
        gravity = new Vec3(0, -9.81, 0),
        velocityIterations = 8,
        positionIterations = 8
    } = {}) {
        this.timestep = timestep;

        this.world = new World(broadphase, gravity);
        this.world.setNumVelocityIterations(velocityIterations);
        this.world.setNumPositionIterations(positionIterations);

        this.bodies = [];
        this.map = new Map();
        this.array = new Float32Array();

        this.v1 = new Vec3();
        this.v2 = new Vec3();
        this.q = new Quat();
    }
A class for using the OimoPhysics 3D physics engine with an array buffer.