WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #17  
Old 06-09-2005, 01:28 PM
Johannes Johannes is offline
Member
 
Join Date: Jan 2005
Posts: 143
Intersection with a ghost

Hi,

because colissions can not work prcecise enough I'm developing a workaround: After each time-step my moving objects also calculate where they would be at the next timestep. If there would be a colission with some object or beween two movin objects I set the next Position to that colissionPosition...

The problem I have right now is right at the beginning:
Code:
for object in collidablesBall:

						info=object.intersect(ball0503.actualPos.get(), ball0503.nextPos.get())					
						if info.intersected:
I also remove certain balls from the scene.

Problem: Also the balls I remove are not in the collidablesBall Array they trigger a intersect printout. Second - they are removed from the scene and still do that?!

Can removed objects still trigger an intersect-Event?
Other possibility: I will go through it and look if I have some invisible Objects somewhere.


Johannes
Reply With Quote
 


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


All times are GMT -7. The time now is 04:38 AM.


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