_physics_process(_delta) doesn’t work after teleporting

Question

After I manually change the parent of my CharacterBody2D, _physics_process(_delta) is not being called even though it is overridden.

If the parent of the CharacterBody2D is changed, this can result in _physics_process(_delta) no longer being called. Re-enable the callback by calling set_physics_process(true). 1

Footnotes

  1. 202307261047