P
Potoroo84
Guest
I'm trying to implement a "grapple" move.
If the opponent is in front of the player, a timeline plays, and the opponent is thrown to the other side. If he's not, it will cancel the move.
The problem is that i'm checking if the opponent is in front. So when the timeline starts, he's not in front anymore and the move is canceled before the timeline finishes.
Does anybody know a better way to approach this?
If the opponent is in front of the player, a timeline plays, and the opponent is thrown to the other side. If he's not, it will cancel the move.
The problem is that i'm checking if the opponent is in front. So when the timeline starts, he's not in front anymore and the move is canceled before the timeline finishes.
Does anybody know a better way to approach this?