PhysicsServerSingleton.areaSetMonitorCallback

Sets the function to call when any body/area enters or exits the area. This callback will be called for any object interacting with the area, and takes five parameters: 1: constant AREA_BODY_ADDED or constant AREA_BODY_REMOVED, depending on whether the object entered or exited the area. 2: RID of the object that entered/exited the area. 3: Instance ID of the object that entered/exited the area. 4: The shape index of the object that entered/exited the area. 5: The shape index of the area where the object entered/exited.

struct PhysicsServerSingleton
@nogc nothrow
void
areaSetMonitorCallback
(
in RID area
,,
in String method
)

Meta