Unreal配置围绕角色旋转的相机(备忘)

先来gif展示效果:

我的蓝图结构如下:

因为我的角色有多个相机,首先将我要默认使用的相机Follow Camera的 Auto Activate勾选上(在搜索过滤栏输入act就可以很快速地过滤出来),同时记住将其他相机的Auto Activate的勾选取消;

  • 选中BP_StackBot(self),也就是蓝图的头层(根节点),在搜索过滤栏输入rot,取消勾选Use Controller Rotation Yaw;

  • 选中Character Movement(CharMoveComp),勾选Orient Rotation to Movement:让角色面向加速度的方向旋转;

  • 选中Follow SpringArm,勾选Use Controller Rotation Yaw;

以上的三部操作就是让我Pawn不要使用Controller Yaw了,而是让我的SpringArm使用Controller Yaw.

posted @ 2024-03-05 17:06  bylle  阅读(29)  评论(0编辑  收藏  举报