Download

How to create resistance between two kinematic objects?

I’m working on a prototype for a fencing game, and I’ve been having trouble figuring out how to get one blade to move in the opposite direction of the other when enough input is applied. I tried subtracting the “opponent’s” input from the “player’s,” just to see what would happen. Since it’s just a simple operation, I expected something to happen, even if it wasn’t what I wanted, but instead nothing happened at all.

Here’s a demo video: Fencing Game Prototype Demo - YouTube
And here’s a screen grab of the blueprint code:

I get that because the other player character hasn’t been possessed by another player that it’s input is 0 and it won’t affect my movements at all, but I expected my movements to maybe affect the positioning of the opponent’s arm and blade in some way, but it didn’t.

If anyone could offer some advice or feedback I’d really appreciate it!