It took me all day how to work out how to trigger a Matinee with a Leap Motion gesture, in this case, when you make a fist.
I finally got it working, but the problem I now have is that it’s way too sensitive, and is triggering the moment the hand is in shot, for example, when putting a VR headset on.
What I need to be able to do is to add a duration requirement, for example, hold a fist (grabbing) for 3 seconds before it plays.
What seems to make this a little more complicated, is that it doesn’t seem to have the normal ‘pressed’ and ‘released’ conditions that other inputs do.
Where do you activate the HandGrabbing? Before you call that function, I would use SetTimer, give it 3 sec and call this event, and whenever the Fist is not detected, reset the timer. <3
I REALLY appreciate the reply Ninjen, but not sure exactly what you mean?
Basically this is a small demo on rails experience - you start in a dark room, with a brief intro and instructions on how to start the matinee (hold out hands and make a fist!), Once the fist is detected, the matinee triggers and the cinematic begins.
There is no deeper, or more complicated context context beyond that, so the code you see above in the level blueprint is literally all there is! That, the environment, and the matinee actor. So, ideally any missing code could be understood by a total newbie, and could be built into the level code above!