is there is a way to check if a given location is inside an object

is there is a way to check if a given location is inside an object because i want to prevent that from happening so i want to to make sure my tracese will not start inside an object .can ue4 tell you if you are in that situation ?

what exactly are you trying to do? if you are using a line trace you could have it ignore and actor or object.

im starting a trace from a random location so i want to know if the location is inside an object to cancel it .

in the hit resulte dont show if the hit face is from inside its object but i wonder if comparing the normal of the trace with a normal of the poligon will give us a clue if we are inside or outside that object ?