hmmm… I tried this code verbatim, and it does NOT seem to run at world.update(0.016) or in my case this.tester function at FIXED interval
let startTime = performance.now()
let accumulator = 0;
let simulationSpeedFactor = 1
this.scene.registerBeforeRender(()=>{
const now = performance.now()
const delta = (now-startTime)/1000
startTime = now
accumulator += delta
while (accumulator >= 0.016*simulationSpeedFactor) {
//substeps++
accumulator -= 0.016
this.tester(0.016)
}
});