WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-05-2007, 04:04 PM
mjabon mjabon is offline
Member
 
Join Date: Jul 2007
Posts: 63
Collision?

Hi. I need a little help. I believe collisions is what I need to use, but I'm not sure how.

I need to make a world with a box with holes of different sizes and I want the user to pick up a screw using the haptic pen and be able to screw it into th ebox. I only want the screw to be able to go through in the right sized hole.

Right now the screw can go through the box anywhere! I set the hardness of the box to be 1 on the haptic device, so the haptic pen can't get through the box but if the screw is bigger than the marker of the pen then it just goes right through. How can I achieve the effect I want?

Should I somehow manually get the colliding object of the screw and box and do the math myself to figure out when they intersect or is there an easier way?

Thanks so much!
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 12:37 AM.


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