Hello everyone !
I am currently trying to make a block system for my melee game working with line traces. I’d like it so that when I call an action (right mouse button pressed) , it blocks.To do that , i’d like to have a collision box in front of my character and that when I press the right mouse button , the line traces will hit this box and when it’s not pressed , the line traces go through this box. Here is a drawing to make it a bit more clear
:
Any help is appreciated