Okay. So i’ve been racking my brain with this for a while but cannot seem to fathom how to do it with blueprints.

Basically in my project i have a situation where an target is supposed to be stunned. This mean that the stun weapon needs to be closed enough to the target and not have a big angle (something like 10 is okay, 45 isn’t)

My problem is that i cannot wrap my head around how to do it. It must be something stupidly obvious but still. I know the formula for the calculation but cannot transfer it to the blueprints.

Any pointers or help would be greatly appreciated! And anyway have a great day.