How to Switch a Third-Person Character to Strafe Mode ?

Hello, I’m currently developing locomotion.

As you can see in the video, I’ve implemented a basic third-person locomotion system.

Right now, the character moves in a forward-facing manner. However, I want to add a feature where, when the weapon is drawn, the movement switches to strafe mode, like in Lyra.

How should I approach this?

Currently, the locomotion component and camera component are separate.

Even when I adjust the Use Orientation Control Rotation option, there is no effect.

Please help me! :pray:

Hey @studentModeling!

There’s no video but I see what your objective is. I think currently your character faces the direction it’s moving to. I suppose this is what you meant by this:

Considering you followed up with this:

And you want it to always face it’s back to the camera when the conditions are met.

So what you wanna do is drag the Character Movement Component from the Components window on the top left into your Event Graph, then drag out of it’s blue output pin, release it on an empty space, search for “orient rotation to movement” on the menu that pops up, and select the Set version of the node. Untick the checkbox inside the node and execute it after what you want it to be triggered by. But we’ll also wanna enable something after disabling this. Right click on an empty space on your Event Graph, search for “use controller rotation yaw” on the menu that pops up, and select the Set version of the node. Make sure the checkbox inside the node is ticked, and place it after our previous node. By default, this setting is actually enabled but you probably turned it off based on your explanation.

Hope this helps! :innocent: