Meiryo’s blog

やってみて詰まったことを備忘録として残すブログ

【UE5】敵AIの回転がカクつく問題と解決法

Unreal Engineのバージョンは5.1.1です

敵AIをMovo To Taskでプレイヤーに向かってくるように
したのですが回転する時にぎこちない曲がり方をしていました。

これを直すにはPawnの
Use Controller Rotation Yawをオフにし

Character Movement Componentの
Orient Rotation to Movementをオンにします。

スムーズに回転するようになりました。

変更したOrient Rotation to Movementですが
キャラクターを常に進行方向に向ける設定だそうです。

Difference between "Orient Rotation to Movement" and "Use Controller Desired Rotation" - #2 by JaredTherriault - Blueprint - Epic Developer Community Forums

参考

How To Make AI Turn Smoothly | Smooth Rotation Turning - Unreal Engine Tutorial - YouTube