I want my character to rotate in a square from front to back and vice versa (resolved)

Hi, I’m very new to this and I want to make a platform game. My character only moves forwards and backwards. But I can’t get my character to turn when I turn back. My intention is that with the keyboard I can rotate my character without using the camera and that it rotates in a frame

Hey @Hector40!

A few questions to get things started:

  • Is this a 2D or 3D/2.5D environment?
  • So it is more clear, are you having issue with the actual character rotation to turn toward a direction or having the character face the correct rotation?

Any additional specifics or info you provide may go a long way in solving your problem!

1 Like

Hello, thanks for answering. It is a 2.5D environment.
I would like the character to look in the correct rotation. and that it rotates only in a frame, backwards

Hey @Hector40!

Understood, would you mind sharing the blueprints that you have so far so we can take a look at what might be going wrong? In the meantime, check out the following non-Epic affiliated tutorial to see if it has the solution you are looking for (Note: The following tutorial does use a free plugin from the Unreal Marketplace):

1 Like

Hey @Hector40!

Checking in, did the above solution work for you? Are you still having trouble setting up your character movement?

1 Like

Hello Quetzalcodename, I haven’t tried it yet because I was traveling. But today I will see it and let you know. thank you

Ah, I was watching the video but there it uses texts to make it rotate. My character is in 3D. It’s a Mario Bros. but I saw this video. I think it can help me

I still tried as the video says and it didn’t work

Hey @Hector40,

Hmm, following the tutorial you provided looks to work on my end. Is the character sliding backwards or some other behavior? Would you mind sharing a video of your issue?

cap1

Hey @Hector40!

I think I see what may be happening here. When you select your Character Movement component, is Orient Rotation to Movement enabled? It should be enabled in order for your character to turn around.

1 Like

You are a genius. thank you very much friend!!! :smile:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.