Line tracing and collision

Hey all,

Not sure if I put this in the right section, but I’m assuming this issue has to do with me being unfamiliar with the tools. Anyways, I have two actors, we’ll call them A and B.

---- A has a sphereComponent on it, of which I’m trying to use as a trigger by setting it in the blueprint “collision” section, as well as using the “Generate Overlapping Events” property.

---- B is a camera that is always multi line tracing between two points using the ECC_Camera channel and returning all of the overlapping objects in it’s hitResults. This part is in C++.

The issue: My sphereComponenet on A is returning in this trace, and I do not want it to. I want this trigger to be used for characters. How do I do this? I thought I simply set the collision information on this specific sphereComponent to ignore Camera and overlap everything else?

Thanks a bunch everyone. I hope you all understand what I’m trying to accomplish.

  • Austin

Try setting the sphere collision to ignore tracing and set its property to something like world dynamic, the set the camera collision to ignore world dynamic.

I thought of that last night as I was going to bed! I’m glad you confirmed my thinking… It works.

Just in case others were thinking like me: My issue was I was under the impression that my A collision settings were telling B to ignore A. But both settings have to be set individually for each collision response. Settings for A only tell A how to handle collision events… settings for B don’t care about A’s settings, it only care’s about it’s own.

Thanks .