Thread: Collision?
View Single Post
  #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