Orient Rotation only on forward
what would be the best way to make the character rotatate to movement only on the forward movement (so I can implement strafe animtions and backward run, without rotating the character there)?
I only found "CharacterMovement->bOrientRotationToMovement = xx". which either disables it completely or makes it rotate in all directions.
I am gratefull for c++ or blueprint solutions, but I rather prefer doing it in editor/blueprint.
Thanks in advance!
asked Jan 13 '15 at 01:50 PM in Blueprint Scripting
One way I found of doing this was to create a key event for whichever movement keys you want the character to stop rotating for (eg. A,S & D), then drag out from 'Pressed' and create a 'Set Use Controller Rotation Yaw' node, then tick the checkbox, then do the same for 'Released' except this time leave the tick box unchecked. It should look something like this (I only set mine for the 'S' button, but just link any additional key nodes to the 'set' nodes if you want to lock rotation when that button is pressed):
answered May 06 '15 at 01:03 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here