PDA

View Full Version : Collision detection and snapping to fit


michael117s
10-15-2015, 08:45 AM
Hi, I would like some help.

I am having difficulty getting two objects to recognize when they come in contact with each other...one just passes through the other. One is a disc holder, the other is the disc. I would like the disc to snap in to place when brought within close proximity of the disc holder.

would really appreciate help! Thanks :D

Jeff
10-16-2015, 03:02 PM
Use the vizproximity (http://docs.worldviz.com/vizard/#vizproximity.htm) library to determine proximity.

michael117s
10-20-2015, 05:33 AM
Thanks! I will try this:)