How to rotate actor towards new direction from bounce?


I am having an issue with my blueprint not rotating towards the new direction from a bounce.

Video: - YouTube

Currently, a local rotation is added when spawned from the Character blueprint.

Is there any way to rotate the Projectile towards the new direction?

  1. Use movement component to get velocity direction vector Forward
  2. Get the rotator by calling FRotator rot = Forward.Rotation() function
  3. Call SetActorRotation(rot)

Hope it helps.