How to get socket forward vector?

Hi. don’t know how to get forward vector(x axis) for socket(it set it at my gun muzzle flash bone) i want do single line trace from socket but don’t know how do that without forward vector any suggestion?

find solution by getting rotation from same socket and convert to vector

had the same problem

The ‘socket location’ doesn’t have a forward vector, but the mesh it belongs to does.

I was wondering that anything that have rotation must have some directional vector :wink:

Thnak you!

Bloody Legend. I already thought of it but I didn’t think it would work. Thanks