How to let player character auto walk to trigger point?

Hi,

Nice to meet you guys.

I am trying to make my character auto open a chest with overlap in trigger box near the chest. However, if I begin overlap with wrong angle, my character will open the chest but face the air.

Do we have a solution when character step in trigger box then auto walk to trigger point in front of chest?
I tried ‘move component to’ and that makes character teleport to the chest but not with walking animation. Is there are better solutions?

idea:

  1. disable input on pawn
  2. Play animation that faces pawn toward chest.
  3. lerp toward chest. while playing steptoward animation.
  4. open chest.
  5. re ensble input.

How do you rotate the character? I’ve tried lots of different approaches, but the only working solution I came up with is to check the Character Control Rotation values and then Add Controller Pitch and Yaw Input until the Character faces the required angle. Is there a way to automatically rotate the Character towards the required angle with some kind of interpolation? Because my solution is a bit too cumbersome.

Hmm. Not sure how to do it via ControlRotation. If you can’t find a way, you could temporarily change whether the pawn uses control rotation, then just lerp the Actor Rotation until the sequence is finished, then re-enable controlrotation.