No collision msg received (SOLVED)

Hey,
I searched the forum, but nothing helped me to figure out what causes my problem.

My GOs don’t receive collision messages.
With physics debug, I can see that they do collide.

This is my player.script:

function on_message(self, message_id, message, sender)
	print("message")
	if message_id == hash("collision_response") then
	    print("collide")
	end
end

This is my collision object:

And this is the other object, which gets created by a factory.

I hope you can help me :slight_smile:

The player needs to have a mask with “enemy” in it, and the other object (enemy) needs to have “player” in its mask. :slight_smile:

4 Likes

Oh :see_no_evil:
Thank you very much.

2 Likes