Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | toblin |
I’m trying to optimize using servers, and I find two very similar functions in the PhysicsServer. One is the:
PhysicsServer.area_set_monitor_callback(...)
that you can read about here, and the other is the:
PhysicsServer.area_set_area_monitor_callback(...)
that you can read about here.
As far as I understand, the methods are both used to define the function that should be called when a body
interacts with the given area
(entering or exiting the area).
My question is: what is the difference between them?