I know that Character actor is kinematic, but I need to allow other players to push each other. And also I don’t want to write my own physic based character.
So what’s the best way to add this feature? I also need in ability to push characters by some level parts - moving walls, giant falling balls and etc =)
Hm… It seems that I have described my question incorrectly =) I need to make it so that one walking character could move other character like in Mortal Kombat (it’s the first game that I remember with same characters behaviour).
In my Fighting Game Project I use an event that is called every frame the character moves and when they have a certain distance. When they are too close, player A pushes player B the direction it is moving the same amount.
I move my characters with Add Actor Local Offset, so the pushing is also done the same way. It may be a different story if you are using velocity but I think the way to do it would be similiar anyhow.
One thing that is a plus on my end is, Add Actor Local Offsets work together, having two of them does not cancel the other.
I used Launch character on both, using each side of the difference in velocity vectors to make it act like an elastic collision equation. But yours sounds smoother.