Hey guys. So I am trying to make a grenade system work - throw a grenade, after a small delay it knocks everything back, at the moment I am not focusing on the damage aspect just yet, just more the knockback. I initially added a radial impulse, which unfortunately went through walls so I decided to do a multisphere trace, the problem here is that it still seems to be going through walls. I then decided to do a linetrace starting from the grenade to the “location” and “impact point” both of which did not produce a linetrace at all. So I decided to do “Normal” and “Impact Normal” both of these produced a single line trace that went straight to the floor for some reason. I then did a line trace ending at the world location of the component hit which did produce a line trace to all of the objects within the multisphere radius but it did not produce a “hit” result from any of the objects, aside from the walls.
I have the walls set to block all and everything else is set to overlap so it can hit objects - such as players - that are behind other objects, to prevent a player using another player as a human shield, I want them all to be knocked back. I tried using the “initial overlap” on the break hit result to give a branch and if true would add the impulse but that did not work either.
Is there something I am missing here? because it seems like the line traces are not doing what they are supposed to be doing, or what you would logically think they should do.
As well as this is adding an impulse the right way to go? Because if the radial impulse can go through walls, can the impulse I am adding also go through walls?, as well as this, the impulse will not accept an actor reference, meaning my player does not get pushed back by the impulse.