原文链接: https://www.cnblogs.com/LynnVon/p/13371622.html  

问题:

  3Dwidget,使用WidgetInteration交互,当WidgetComponent的Geometry Mode为Cylinder的时候,当WidgetInteration距离太近的时候,就无法使用WidgetInteration点击WidgetComponent了

  办法:

  我估计是WidgetComponent为Cylinder的时候,WidgetComponent的碰撞层并不也是Cylinder,而依旧是plane

  

 

如图,WidgetComponent已经是Cylinder了  

  

 

而widgetcomponent碰撞层我估计依旧是上图红色线那里,那么当我们WidgetInteraction在红色线以内时,就没有碰撞了。。。。

  解决办法就是,将WidgetInteration反向移动,让手柄即使都碰到WidgetComponent了,widgetinteraction依旧处于红色线以外,这样WidgetInteraction发出的射线依旧能够碰撞到WidgetComponent的碰撞层

   

 

   解决。