As documented on the LineTrace node, a line trace whose Trace Start vector is within the collided object will have conditions such as a trace length and time of 0. You can test against these conditions to change the logic of your shooting based on the fact you are inside a destructible actor or not.