VR "touch screen" interaction

If your touch collision is a sphere and your widget is a plane you can do it accurately with overlap and line trace.

286352-annotation-2019-09-02-090424.png

Rotation does not matter for a sphere, and when it overlaps, do a line trace across two sides of the sphere in opposite direction of the widget component.

Blueprint

Do this every tick

TouchTheScreen

1 Like