[UE4]Overlap|[UE4]Overlap Event 碰撞事件

【[UE4]Overlap|[UE4]Overlap Event 碰撞事件】一、对于VR中角色的手模型,一般是在角色中另外添加一个球型碰撞体
[UE4]Overlap|[UE4]Overlap Event 碰撞事件
文章图片
[UE4]Overlap|[UE4]Overlap Event 碰撞事件
文章图片

二、并且一定要勾选“Generate Overlap Events(触发重叠事件)”选项(默认状态是勾选的)
[UE4]Overlap|[UE4]Overlap Event 碰撞事件
文章图片

三、添加开始碰撞事件[UE4]Overlap|[UE4]Overlap Event 碰撞事件
文章图片

四、默认情况下,Static Mesh(静态模型)的Generate Overlap Events(触发碰撞事件)是没有勾选的,只有勾选这个选项,当其他同样勾选了Generate Overlap Events选项的东西碰撞时,才会触发碰撞事件。
[UE4]Overlap|[UE4]Overlap Event 碰撞事件
文章图片

五、碰撞事件
[UE4]Overlap|[UE4]Overlap Event 碰撞事件
文章图片

[UE4]Overlap|[UE4]Overlap Event 碰撞事件
文章图片

六、On component Begin Overlap:开始碰撞时触发;On component End Overlap:结束碰撞时触发。
[UE4]Overlap|[UE4]Overlap Event 碰撞事件
文章图片

七、当然也可以使用骨骼模型本身的碰撞体对象,当然也要记得勾选Generate Overlap Events选项才行。
[UE4]Overlap|[UE4]Overlap Event 碰撞事件
文章图片


转载于:https://www.cnblogs.com/timy/p/10482477.html

    推荐阅读