So Im trying to send a message to the last contacted object when my player hits that object, but when it hits the object it always sends only to 1 specific object (The one farthest to the left) no matter what. I currently have
Player:collision > message (last contacted object)
Other Objects: Mailbox > animation
I would prefer not to reveal the game if I don’t have to
In Player (Don’t mind names
):
In my other object:
What is the message showing
I would say just check any objects that message the other objects
I have my message set to “send to last contacted object” but its only sending to specific objects.
Let me see what you have in those message blocks
What is the last contacted object before jelly
Im going to DM you so I can just show you the game
Wait, are you wanting only the farthest to the left object to play the animation?
No, I want whatever object the player touches, the problem is that only the left object is getting the message (playing the animation)
1 Like
AH, I see. Do you mind if I could be in that dm too?
1 Like
So this is a bit of a unique problem, your coding seems to be just fine. Have you ever heard of object collision merging? When an object groups, the same objects that are all one kind group to make one big collision. That way it takes less performance or whatnot.
How you can fix this is by placing a behavior that can modify the object position. Like for example, a position behavior, velocity, etc.
That is the only reason I could see as of why this is not working… and it seems to work with the addition of a position behavior.
I think, anyways lol.
2 Likes