Howdy, I'm working on a multiplayer game, where I need a goomba behavior where players can stomp on each other to stun their opponent.
I'm calling this action via On peer collision with peer, but I need to check to find the peer with the lower Y value and make sure they're falling and not just running into them. Then I need to get the peerid variables for the attacker and victim so I can then call a function that makes the attacker change Y vector and the victim flash and stop moving for a moment, etc.
This is also going to be 4 player, so I can't just peer(0).y and peer(1).y this.
Help pls and thank you in advance!