View Single Post
  #14  
Old 09-11-2006, 08:26 PM
pbeeson pbeeson is offline
Member
 
Join Date: Aug 2006
Posts: 31
It looks like viz.phys.intersectLine is faster than the old viz.intersect. But, the old intersect would ignore objects that were not visible.

1) Is there any way to tell viz.phys.intersectLine to ignore certain objects? object.disable(viz.COLLISION) doesn't seem to work, neither does turning off visibilty.
I can run viz.phys.intersectLine(begin,end,True) to get a list and then check object IDs, but I don't know if there is an easier way (especially considering that if you have many objects, it might be an optimzation to not check for intersections with particular objects at certain times). (This is also where thread 729 ended up).

2) Is there any way to get better documentation on these commands that he skeletal docs in the Vizard Help or in Python help()?

Last edited by pbeeson; 09-11-2006 at 10:37 PM.
Reply With Quote