Stop raycast from going through wall

Multitrace is for penetrating overlapping obstacles.


Consider Pawn Sensing instead.

  • in the Skelly:

  • in the Player:

Can be improved, surely.


For something more elaborate and with more control, dot product:

Have a look at the thread. Some unorthodox (just messing around with stuff) methods there.