美文网首页
05 - Varying the Course

05 - Varying the Course

作者: 镜月s | 来源:发表于2017-08-18 17:31 被阅读6次

右键BP_FloorTile 创建他的子类BP_FloorTime_RampUp

添加一个斜坡StaticMesh mesh选择Shape_Wedge_B 修改Material 并调整旋转角度及位置

移动代表地板结束位置的arrow 和碰撞检测到斜坡的顶端

同理 创建一个RampDown蓝图类 不同时斜坡位置冲下

标记GameMode蓝图类的AddFloorTile函数 随机生成上述3中地板 

变量FloorTiles为actor class 数组类型 在ClssDefaults中编辑他的默认值为3中地板类

相关文章

网友评论

      本文标题:05 - Varying the Course

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