美文网首页
跟着官网学UE4(提取干货) Blueprint 3rd Per

跟着官网学UE4(提取干货) Blueprint 3rd Per

作者: 镜月s | 来源:发表于2017-07-11 18:06 被阅读23次

wasd 默认实现了左摇杆的功能  右摇杆的视角需要是实现LookUpRate 和 TurnRate

移动设备默认是实现了一个虚拟摇杆 可以通过Projecting/Input /Mobile/ DefaultTouchInterface

双击查看 其中control 0 实现的是左摇杆 control 1 实现的是右摇杆

打开角色蓝图 添加右摇杆控制处理 其中 Get World Delta Seconds 处理是为了使用摇杆控制更加平滑

添加 触摸时间处理 当触摸为一个手指时 发送Jump命令

通过Play/Mobile Preview 让游戏模拟运行在Mobile设备上

相关文章

网友评论

      本文标题:跟着官网学UE4(提取干货) Blueprint 3rd Per

      本文链接:https://www.haomeiwen.com/subject/vbvmhxtx.html