Kinect OSceleton hit Test (multiple Boxes or areas)

MikeP's picture

Has anyone done hit tests not with multiple people but with multiple areas or boxes, so you can hit one box on your left to change color and then another above you and then another on your right and so on?

monobrau's picture
Re: Kinect OSceleton hit Test (multiple Boxes or areas)

This sample is going to be part of the 0.2 version of the tryplex toolkit (http://code.google.com/p/tryplex/), it does a xyz hit test for multiple objects.

PreviewAttachmentSize
01s_multiple_object_hit_test.qtz49.23 KB

StuShapiro's picture
Re: Kinect OSceleton hit Test (multiple Boxes or areas)

is there a way to use the typlex hit object but make it hit regardless of the z position.

i dont know where my skeleton is in z compared to my box object and find i often have to move far forwards ot back to get the hit to work.

  1. Can i eliminate the Z and make it work only on x/y position?
  2. Can i make the hit box work with just a 2d object?

would love some help or a sample patch :)

StuShapiro's picture
Re: Kinect OSceleton hit Test (multiple Boxes or areas)

oneseconds.com just emailed me a perfect solution to create a crazy big z depth. that triggered the next solution.

Set the z depth to something large, hide the 3d cube object and place the 2d object i want as my actual visible hit object where the ugly 3d cube is. set 3d cube to visibly off.