WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


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 07:28 PM.


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