Detecting jump action?

I know nuitrack doesn’t have any built-in detection for user jumps but still I need it to be done.

I tried some approaches but it seems hard to get a reliable method to detect jumps without considering the floor and not getting too many false positives or inacurate detections.

Could anyone shed some light on this topic? Any tips one how can I detect jumps without floor detection?


I’m trying to use some pattern recognition algorithm to detect the jumps. Does anyone already tried this approach?

Now I have the possibility to change the environment where the game will be running and I can rely on floor data. Any hints?

Could you describe the jump detection approaches that you’ve tried? This can help other users to point out the shortcomings and suggest some improvements.
First solution that comes to mind:
To detect jumps, try to pay attention not to the floor, but instead to the position of the body in space. For example, before starting the game (during calibration), save the maximum height of the torso / neck / head. If these points are higher and at the same time moving upward with sufficient speed, then we can assume that it is a jump

By not considering the floor, how would you consider that the height (Y axis) gets higher when the user just moves forwards or backwards (depending on the angulation and height of the camera relative to the user)?

If I save the max height during calibration and trigger a jump every time the user’s height on those joints becomes higher, even considering speed, this behavior can be replicated by just moving forward or backward.

(I’m using the Joint.Real structure to get these information, please let me know if this is not the right data to seek in my case).

You work in 3d space, so you can make a plane of maximum height for the user using three points. For example, during calibration, before starting the game, ask the user to take a step forward, a step back and a step to the side. Based on these three points, we can make a plane of the “ceiling” in space for detecting jumps. This will eliminate the problem with the angle of the camera. You can use Joint.Real for this.

1 Like

Great idea, 'll try this. Thanks.

@andrescos Do you reached a solution for detecting the jump action, I am trying to do it ?

At the moment, we are preparing a video tutorial with jump event detection, where there are methods for determining the jump event and its height.

Now you can learn the tutorial in the attached unitypacakge.

Hello Community I just got the solution for jump in unity using Nuitrack SDK.
you can check it out here

1 Like