View Single Post
  #4   Spotlight this post!  
Unread 19-02-2012, 11:18
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Kinect Boolean Programming

I would get rid of the two small case structures inside. Just put your non-Kinect auto code there. If there are 0 players, either the Kinect isn't being used or your player is not detected, either way you want to just run auto. If there are two players, you are not necessarily going to get good data from the Kinect so I would just run the auto code there as well. This means that if "players" is anything but 1, you want to run your auto code, which is what your larger outside case structure will do.
Reply With Quote