Teleporting a Havok body

I am trying to teleport a body back to it’ s initial spot after it falls off the ledge.
This works for the first time, but for second time it continues falling and isn’ t returning to the initial position.
What would be the correct way to do this?

  checkHeraldPosition() {
    if (this.herald && this.herald.position.y < -10) {

      this.heraldAggregate.body.disablePreStep = false;
      this.heraldAggregate.transformNode.position = this.initialPosition;
      this.heraldAggregate.transformNode.rotation = this.initialRotation;
      this.heraldAggregate.body.setLinearVelocity(new BABYLON.Vector3(0, 0, 0));
      this.heraldAggregate.body.setAngularVelocity(new BABYLON.Vector3(0, 0, 0));
      
    }
  }

Please provide a PG

Frankly I’ve had a few problems like this, my workaround was to dispose the existing physicsaggregate, move the mesh, then create a new one. Also, you may need to use rotationQuaternion instead of rotation on the transformNode … I can’t remember if rotation still works after you’ve disposed the physicsaggregate or not, but it def doesn’t work when it’s attached.

I know it’s says disablePreStep is the way to go in many places, and in many situations its works, but I’ve def run into the problem you’ve described a few times.