Snap to player

hello guys ,

i m new in UE , i will l be very thankful is somebody can help me with this issues . i have ai character that have to look at the player character when i press G button . How the rotation of AI can be smooth when i press G button ? to avoid the snap look at ?

please see the attachment

Thanks so much !


You should add a timeline with a float track and use it as the alpha input to a LERP node that blends between the starting and ending rotations.

The nodes are called:

  • Add Timeline
  • LERP (Rotator)

Thanks so much !