#how to detect when your hands are behind your back
5 messages · Page 1 of 1 (latest)
I don't know way to get the forward vector of player body but here's how I would do it
local Dot = Vector3.dot(GetForwardVector(Player), Vector3.Normalize[GetHandPosition(Player) - GetPosition(Player)]
if Dot < -0.7 then
--player hands behind their back
Dot the player forward vector by player hand position subtracted by player position, normalize the subtracted value and hook that to dot, if dot product is less than -0.7 then player hand is behind their back
isnt there a body rotation chip? I would rotate vector 0,0,1 by body rotation to get forward then 
since this primary uses player stuff (which they relly need to rename em to head stuff by this point) than this would also mean that it primarily gets if hand is behind head then