const refresh = () => { if(step == userid[step]){ if(userskin[step] == skins[step]){ that.body.setCollisionFlags(2) // set the new position that.position.set(-1, -2.41, 0) that.body.needUpdate = true // this will run only on the next update if body.needUpdate = true that.body.once.update(() => { // set body back to dynamic that.body.setCollisionFlags(0) // if you do not reset the velocity and angularVelocity, the object will keep it that.body.setVelocity(0, 0, 0) that.body.setAngularVelocity(0, 0, 0) }) } }