Thread: Face Hits
View Single Post
  #2  
Old 05-17-2006, 02:13 PM
Gladsomebeast Gladsomebeast is offline
Member
 
Join Date: Mar 2005
Location: Isla Vizta, CA
Posts: 397
Is 'Face Hit' ever printed? If so, try printing the info.object when you know you've made a headshot. Can you identify the node in your world that is the info.object?

If ‘Face Hit’ is not printed, check your viz.intersect() points and verify that they create a line passing through the head geometry.

If viz.intersect() is not getting the faces you can also try creating an invisible child boxes as children of the avatar’s heads and use them as the intersection targets.
Code:
box = face.add( 'box.wrl' )
box.scale( .5, .5, .5 )
box.visible( viz.OFF )
Reply With Quote