Godot Version
4.3
Question
Is it possible to override a node's _set_physics_process() so that it is not automatically called by the godot engine prior to ready()?
For context, I have a number of Nodes whose physics I would like to disable on instantiation but prior to being added to the scene tree. I.e:
I was surprised to find that despite having disabled physics process, the Nodes’ physics process would be enabled upon being added to the scene tree:
I thought that I could override _set_process_physics(enable : bool) → void in a similar manner as _validate_property() i.e.:
…but it seems that this override is never called. A possible solution is to simply disable physics in ready(), but I have many nodes which inherit this script and also override _ready(), so I would like to avoid having to individually write super() in all of them.
Any help on this matter would be greatly appreciated!