How to do 2D line tracing collision checking on UMG widget?
I'm building a test and simple mini triangle peg game for fun using UMG and need to know when a line from 2 points intersects a widget in 2D only, is there a way I can use line tracing with UMG to perform collision detection on the widget without putting the widget in another blueprint and performing a 3D line trace?
asked Mar 31 '15 at 11:08 PM in Blueprint Scripting
This should not go unanswered. So, you can use a variety of 2D collision checks yourself in C++ or Blueprints. UMG unless recently added does not have a Blueprint node, but it is fairly simple math using widget x and y positions. For reference https://developer.mozilla.org/en-US/docs/Games/Techniques/2D_collision_detection There are many other 2D references if you search. I have used the circle collision etc in UMG.,
answered Nov 03 '17 at 10:37 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here