how to smoothly rotate a character to target, without moving.
i have two different characters id like to make rotate in a particular way.
one character needs to rotate and face its target before moving out towards it.
another character i need to approach the player and once in range continues to face the player but can only rotate so fast as to allow the player to get behind it for flanking damage.
i understand that disabling "Use Controller Rotation Yaw" in pawn and then changing the "Rotation Rate">Yaw to some number helps with making smooth rotations, but that only helps if the characters are moving.
how to i get them to slowly and smoothly rotate to face an actor target with out doing a movement command??
asked Aug 12 '14 at 07:09 AM in Blueprint Scripting
Got it to work using both rotators yaws in a float Nearly Equal node with error tolerance of 2. anything lower didnt work.
now i need to find what way it is turning to determine what animation to play, turn left or turn right.
if i compare if the yaw of one is greater than the other ones yaw i assumed it was turning right which worked only on the first time it does it, after that it just starts playing the wrong anim for the rotation.
what the hell are rotators? degrees or radians or new values everytime??
answered Aug 23 '14 at 07:18 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here