update() {

		const { vertices, colors } = this.world.debugRender();

		this.geometry.deleteAttribute( 'position' );
		this.geometry.deleteAttribute( 'color' );

		this.geometry.setAttribute( 'position', new BufferAttribute( vertices, 3 ) );
		this.geometry.setAttribute( 'color', new BufferAttribute( colors, 4 ) );

	}
Call this in the render loop to update the outlines.