How can I, when player is moving, make mouse movement turn player + camera, but otherwise, only turn the camera?
EDIT: Rephrasing all of this because, as much as I appreciate the help, neither of the below solutions worked and the original post was poorly worded.. Original post below horizontal divider.
What I'm trying to do is set up a script that essentially says: If the player is moving, make the moving of the mouse dictate the direction of the camera AND direction of the player, but if the player is NOT moving, make the moving of the mouse dictate ONLY the direction of the camera, and not turn the player. Here's the settings on the character element, the spring arm and the camera.
I really don't have any clue how to execute this properly, so some pointers would be great!
So, right to the chase: I'm trying to make a third person game, in which the player can use their mouse to look freely 360 degrees around them. I've accomplished this, BUT, the only problem is that the player character is locked at a 0 degree orientation. Here's the blueprint for the freelooking: Removed
And that worked, at least for freelooking. What I can't figure out how to do is to make it so that when the character is moving, he turns and moves in the direction the camera faces. I tried this, but to no avail: Removed
Anyone have any idea how to do what I'm trying to do?
Pretty sure this is all you need to look at and make sure this is checked. There is also a similar setting in the controller. Check the boxes for one of them to make sure they use the other's rotation so they are synchronized. Or the second image is prob what you need since you want the functionality split between movement types.
Follow this question
Once you sign in you will be able to subscribe for any updates here