- 跟着官网学UE4(提取干货) Blueprint 3rd Per
- 跟着官网学UE4(提取干货) Blueprint 3rd Per
- 跟着官网学UE4(提取干货) Blueprint 3rd Per
- 跟着官网学UE4(提取干货) Blueprint 3rd Per
- 跟着官网学UE4(提取干货) Blueprint 3rd Per
- 跟着官网学UE4(提取干货) Blueprint 3rd Per
- 跟着官网学UE4(提取干货) Blueprint 3rd Per
- 跟着官网学UE4(提取干货) Blueprint 3rd Per
- 跟着官网学UE4(提取干货) Blueprint 3rd Per
- 跟着官网学UE4(提取干货) Blueprint 3rd Per
右键创建BluePrintClass 父类选择 Character

双击进入角色蓝图 在左侧的components中 点击AddComponent 添加SpringArm 弹簧臂设置名称为CameraBoom 用来控制摄像机的旋转 该组件的作用就是自动控制摄像机的位置 比如角色在墙角 等情况 添加一个Camera在SpringArm下
其中CapsuleComponent 控制character 的碰撞 mesh为网格 arrow显示面向方向 charaterMovement 控制charater 移动等相关设置

点击视图上方的Class Defaults 取消UseControllerRotation Yaw 设置角色的旋转由CharacterMovement控制

点击CharacterMovement 选中OrientRotationtomovement

点击CameraBoom 选中CameraSettings/use pawn control rotation

点击Mesh 修改网格 为角色网格 修改Animation 为之前的动画蓝图

网友评论