View Single Post
  #3  
Old 01-29-2010, 09:46 AM
just alex just alex is offline
Member
 
Join Date: Nov 2008
Posts: 18
Hmm, I'll take easy coding instead of trying to do something too fancy.
So, I think the collision code should look something like this
Code:
subject_orientation = tracker.getEuler()
subject_view = subject_orientation[0,0]
def mycollision(info)
   datafile.write 'collision'
   datafile.write(str(subject_view))
   datafile.flush()
right?
Reply With Quote