WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 04-21-2009, 12:59 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
obj1 is the node that generated the event and obj2 is the node that obj1 collided with
Reply With Quote
  #2  
Old 04-27-2009, 03:42 AM
Moh200jo Moh200jo is offline
Member
 
Join Date: Feb 2009
Posts: 99
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
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Collision detection with specific models just alex Vizard 1 02-06-2009 11:02 AM
Collision Detection and Nearest Point to Probe xabbu Vizard 2 01-06-2009 03:01 AM
Collision with child nodes rubberpimple Vizard 4 09-17-2008 04:27 PM
Collision detection with haptic pen mjabon Vizard 3 01-17-2008 06:35 PM
collision events trigger Eunice Vizard 1 01-03-2006 10:39 AM


All times are GMT -7. The time now is 01:58 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC