Hello!
I would like to track the head of my player in my level. So if they crouch three times, stand still for two seconds and then crouch again two times (or something that ressembles this), an event is triggered. The problem is, I am not sure how to do this and how to check that the player is actually crouching.
For now, I have been trying to put a box collision below shoulder level and check if the head is colliding with the box (the problem with this is that a child or a small person would be colliding with the box all the time). I have also been trying to track my head’s speed on the z axis to see if it is going up or down. But I can’t seem to make it work.
Do you have an idea?