it works fine. but i am trying to use the following lines to see the score
HTML Code:
data = viz.Data()
yield viztask.waitEvent( viz.COLLISION_EVENT, data )
but this does not work with the following event detection
HTML Code:
def onCollideBegin(e):
if e.obj1 == rHandBox:
if e.obj2 == box:
box.color(colors.next())
viz.callback(viz.COLLIDE_BEGIN_EVENT,onCollideBegin)
any idea would be appreciated