摘要: 1.创建GameMome, Pawn, Interface, Actor类型蓝图 在接口interface中定义两个方法用来抓取与释放事件,在抓取事件中输入变量组件类型SceneComponent 在Actor蓝图中添加StaticMesh用来显示被抓取的对象加载接口Interfaces->inpl 阅读全文
posted @ 2021-08-21 16:53 刘允朵的代码屋 阅读(460) 评论(0) 推荐(0) 编辑
摘要: 一,创建Game Mode, Controller, Characters与Interface;定义好键盘映射; 在接口中定义前后,左右,视线的上下左右,跳,奔跑,开火,换枪,扔枪,换子弹,瞄准等事件; 在controller中把Interface接口事件与键盘映射进行绑定;在Controller- 阅读全文
posted @ 2021-08-21 13:10 刘允朵的代码屋 阅读(846) 评论(0) 推荐(0) 编辑