Thread: Object.remove()
View Single Post
  #22  
Old 06-09-2005, 04:27 PM
Johannes Johannes is offline
Member
 
Join Date: Jan 2005
Posts: 143
1. Thank you, yes I will try the object.disable(viz.RENDERING)...

2. @ perform an intersect test on each object instead of all at once:

a) If I understand you right you mean something like
info = viz.intersect(ball0503.actualPos.get(), ball0503.nextPos.get())

b) Reason: Because some objects should not trigger an intersection event e.g. ball-traces of other balls...
Would it save CPU-time to do the above and use

if info.object == glider

if info.object != traceBall...

Have a good evening,
Johannes
Reply With Quote