View Single Post
  #1  
Old 12-14-2006, 03:45 PM
giancamati giancamati is offline
Member
 
Join Date: Jun 2006
Posts: 27
Lightbulb grabbing problems.....

Hello Everybody, due to many successes with Vizard.....I would like to thank the developers! THANK YOU!

AND NOW.....ANOTHER QUESTION FOR YOU!

I scaled my objects with a factor between 0.0 and 1.0. I used

nodes = viz.phys.intersectNode(curs3D)
if len(nodes) > 0:
grabLink = viz.grab( curs3D, nodes[0] )

to detect if my 3D cursor intersect anyone of the objtect I would like to grab. Now, before scaling all my objects with the new factor, grabbing works perfectly!. But after having scaled my objects (exspecially with spheres), it happens that sometimes grab fails. Could be a bug of the intersect algorithm or may be the floating point precition is not very good, or may be there is a way to set a sort of sensibility for the grabbing.

Thank you so much for your help.
Giancarlo
Reply With Quote