I have an actor which I want to move about the world on a flat surface. I have no problems getting it to move, but I want it to turn toward its target before it moves. I have spent a lot of time trying to use Find Look at Rotation to no avail. It seems to be what I want, but it’s not rotating the actor toward the target, but instead is rotating it past it, not quite to it, in the opposite direction, etc. I haven’t found any rhyme or reason and using rotation deltas and combinations with the initial rotation haven’t yielded any results either. If anyone could assist me, that would be dope
Did you set the current rotation to the one returned from the Find Look at Rotation function?
Yes XD I am super new to blueprints but I do know things need to be connected. I found an example online for smooth movement using a timeline and a lerp. I used that and it worked very well for both movement and rotation, it just doesn’t rotate to the correct angle. But it does rotate using that function.
Post your blueprints.
OOOOOHHHH!!! I realize what happened. If I skip the lerp function and directly connect it to SetActorRotation, it goes to the correct location simply with Find Look at Rotation. I tried using lerp again and it was buggy, and I discovered it’s because I set the time on my timeline to be shorter, but the keyframe was still long, so the rotation never finishes.
Thank you for pointing me in the right direction