I’m trying to achive this result (one character pushing another in multiplayer game): https://i.gyazo.com/4f6cb3084eb7ccaa88632fedb3b30a5d.mp4
But I don’t want to use physic simulation on the character capsule, I need to use Character movement component for my characters.
Any leads?
Could this work? - @ClockworkOcean
This is great and simple solution! Works much smoother than AddForce and AddImpulse! Thank you so much!
The only problem is that as my character uses “Orient Rotation to Movement” = True, every time I push the character it rotates to the direction of the push
It’s not that big of an issue at this stage of development though
I’ll try to figure out how to fix it.
Thanks again!
I suppose you could drag out from the character movement component and set “Orient Rotation To Movement” = FALSE while it is being pushed and then set it back to = TRUE when the overlap stops.
EDIT: Since this is multiplayer, the player being pushed also has movement input that they will use to get away or push back, you might want to check if there is some conflict there.
Is this not also possible with just the CMC and collision handling in the capsule?
Trying to revisit this but want to avoid code if possible! Looks like this should be possible just with option selection? I can’t seem to get it to work however…
In addition, this code in its current state would also effect the ‘pushing’ character equally