Rotate Character To Position
Hello, In my project, character turns around (rotates) with using mouse input. (True FPS in Third Person Temp.). I want this character to sit down on a chair. So when he is in trigger box, he will move and rotate to the target point on the map using lerp. Moving works just fine but when key is pressed the character's body will rotate to wanted position, camera will not. So, whole character moves back to original position because camera is the main rotator. Is there any way to actually rotate the camera instead of the playercharacter? I will provide images of blueprints just in case. Thank you for your attention...
This is level blueprint which uses lerp.
This is the event graph of the player which involves mouse controls and rotations
asked Jul 03 '17 at 01:59 AM in Blueprint Scripting
Your camera controlled by mouse, so it uses PlayerController's ControlRotation, and you need to set it, not usual character rotation.
In lerp do GetPlayerController -＞ SetControlRotation.
answered Jul 03 '17 at 04:46 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here