When trying something like this
function on_message(self, message_id, message, sender)
if message_id == hash("contact_point_response") then
print("COLLIDED#1")
end
if message_id == hash("trigger_response") then
print("COLLIDED#2")
if message.enter then
print("COLLIDED#3")
else
print("COLLIDED#4")
end
end
end
I always get COLLIDED#1 and never COLLIDED#2, COLLIDED#3 and COLLIDED#4.
As I understand at the same time with COLLIDED#1 I must get COLLIDED#2 and COLLIDED#3, right?
Maybe there should be some kind of magic to get trigger_response work properly?