How to implement Tekken style movement

I’m trying to make a brawler with 3d assets where movement in X axis is possible but character doesn’t actually turn to X axis.
As you can see, in both examples, character mainly moves on the Y axis and moving in the X axis does not change the direction the character is facing. Any help would be appreciated.
I tried to see if I could work with the UE side scroller template and just add X axis movement, but that still has actually turning to X axis implemented.

Examples:

Hey @arbaros,
Have you tried messing with any of the other Axes, or the Z? It could be that the way you are picturing the grid isn’t how Unreal handles the grid, maybe try messing around with the others!
I hope this can help!
-Zen

This is where I am now. Yes, I’ve tried disconnecting the forward vector from the other axes or attach the clamp to them instead, but to no avail so far.

Hey @arbaros!

The key thing here is that the forward position of the character should be always locked to the opposing player/ai in both side scrollers like Street fighter and 3D like tekken our Soul Calibur. Once you have the character’s forward locked on to another, you would just need to adjust the movement for circling around the enemy.

This would be similar to how you would lock on to an enemy for a souls like as well, except of course you would be always facing the enemy unconditionally. Here is an non-Epic affiliated example of locking on to an enemy for reference:

I hope the above points you in the direction you need

If you want the character to rotate left / right then add a set orientation on forward / back depending if the float is + or -

1 Like

I managed it by doing this instead, however, now I do have a separate problem, that being the movement is not replicating (this is meant to be a 2 player game)

Thanks, solved it, though I am facing a replication problem now as the movement isn’t replicating in the client

Do you have “Replicates” and “Replicate Movement” checked in your character?

I’m developing on 4.26, so the options I have are these instead, which doesn’t replicate for client for some reason.
image

You need to pick the top node of the class

Screenshot from 4.26 below:


Screenshot from my settings, doesn’t seem to be replicating to the client.

What net mode are you running it in?

a) Play Standalone
b) Play As Listen Server
c) Play as Client

Sorry, this is my first foray into multiplayer, I run it like this and the result is as shown in the second screenshot. I tried using the same trick I use with events (multicasting and run on server) but that doesn’t quite apply to movement.


update; I noticed the options you mentioned, I ran in all three, the animation plays normally in each instance, but it does not replicate to the other instances (server to client or client to server)