#How do i learn to make hand positions activate something (dont know how to circuit tryong to learn)
1 messages · Page 1 of 1 (latest)
for example if it a gesture where you put both your hands up you just check with 30Hz when players hands are above head Y position
or if you have a gesture where you need to put your hands on some distance just check for whene hands have big enough distance
( vector3 distance [left hand pos, right hand pos] >= [some number that you have to configure urself])
the other way is better if you have a lot of those gestures (3+ gestures or combination of left and right hands gestures)
first you make a list of positions you want your hand to be for a gesture to work ( do that for both hands, and you have to taek into account that player can look into any direction)
then use "event reciever [Update]" and check when players hand is near one of the positions (use vector 3 distance >= some distance which will be the accuracy)
you can use the outputed bool to check if the hand is doing a gesture
i won't go into more depth because it's a long and complicated system
also with second optin you probably will have to do some optimization because it could make a lot of heat and break everything else you have
also you can use velocity of the hands if your gestures are very simple like "move hands up", "move hands to the side" or " move one of your hand down and the other up"
Very complicated indeed