I have found the function that signals when a new shot is to be fired, and attached the shot counter to it. This method circumvents the problem where shots were being counted multiple times across multiple frames. Further, I have added the shot counter in both the Kinect controller's primary fire function as well as the mouse and keyboard fire function; all control schemes will count shots properly.
No comments:
Post a Comment