Static Line Trace Collision Component

I’ve got a very “simple” ask that hopefully someone here can help with. You see, I’m working on something that in theory will have potentially hundreds/thousands of objects buzzing around at once. However I need basic stuff for them to do like shoot/dodge or other stuff if they are directly in front of them. So far a constant line-trace has worked just fine by tick. However I hate relying on tick to do an entire equation that may hurt performance.

Instead, what I need is a collision component of a singular 1-Dimensional forward line. I’ve had some success making custom C++ collision components in the past however none of them really worked (trying to make a half-sphere collision component even using convex, building it with vertices point-by-point) but I’ve always run into the engine hard-coding the way it constructs collision components.

I’m wondering now if there is a way then to code in a simple line-trace as a static thing to attach to an actor like a regular box or sphere collision. If there is anything already I’d like to hear about it, but again I’m trying to minimize performance impact even to the level of not wanting to use a scaled down box-collision just because I don’t want to constantly adjust where the center point is in front of the actor.

Does anyone have any ideas? I’ve searched up ways in the past and even made my own but I feel like it’s got to be atleast possible.