Happens that in a middle of collision of Trigger A with a object B, B needs to be deleted.
But A is depending on the message.enter == false to know when the overlap has ended.
Happens that when the object containing the Trigger is deleted, I don’t get any “trigger_response”.
That’s fine by design of the engine?
Do I need to find a workaround?
The case is simple, I’m counting the overlaps, and I need to know when the Trigger is not overlapping with anyone else:
if message_id == hash("trigger_response") then
if message.enter then
self.overlap_counter = self.overlap_counter + 1
print("enter")
else
self.overlap_counter = self.overlap_counter - 1
print("leave")
end
end