how can I Get the velocity of a component or actor In its relative vector

Hi
I have a weapon I pick up in VR and im trying to stab other actors with it.
I have the stab working by using a a combination of collision box event, line trace, physics constraint.
But I want to set a velocity condition Like making sure the velocity of the knifes Z vector is above a threshold to allow the stab.
I have played around but Im only getting the world velocity which is no good. and played with physics linear velocity too But not sure If its the right option.
Please send Help :wink:

Hello,

I can’t test it right now, but isn’t there a function called ‘InverseTransfromDirection’? I think it does what you need (transforming a vector from world to local space) if you supply the transform and the velocity of the weapon?