Topic was automatically imported from the old Question2Answer platform.
Asked By
the.Alien
Hi everybody!
What is the difference between those two notifications? And, between PHYSICS and INTERNAL_PHYSICS ones? If I want to develop a C++ object with its own physics, should I use the INTERNAL or the simple PHYSICS one?..
“Internal physics processing happens in isolation from the normal _physics_process() calls and is used by some nodes internally to guarantee proper functioning even if the node is paused or processing is disabled for scripting (set_physics_process()). Only useful for advanced uses to manipulate built-in nodes’ behaviour”
The difference between NOTIFICATION_PROCESS and NOTIFICATION_INTERNAL_PROCESS is the same as the difference between NOTIFICATION_PHYSICS_PROCESS and NOTIFICATION_INTERNAL_PHYSICS_PROCESS.
But the difference between PHYSICS_PROCESS and PROCESS is that
" Physics processing means that the frame rate is synced to the physics, i.e. the delta variable should be constant."
If I were you I would just use NOTIFICATION_PHYSICS_PROCESS. But I could be wrong… I’m not too sure.