Add offset vector as attachment

Hello, i’m tracing 4 boxes:
test

As you can see these traces not following the mesh, because I simply adding vectors

What’s the best way to fix that?

Made this function that gets local vectors and multiplies them with offset:


If there is a better solution, i would love to know about.