WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-08-2008, 04:36 AM
xabbu xabbu is offline
Member
 
Join Date: Sep 2008
Posts: 8
Collision Detection and Nearest Point to Probe

Hi,
I am currently working on implementing an interface to a haptic device in worldviz. What I am trying to figure out is the following:
I want to enable collision detection of the haptic probe with objects that are in range of the workspace of the haptic device. For the communication with the haptic device I need to get the closest point to the probe on the mesh surface of the colliding object once a collision occurs.
So I thought of waiting for the collision event callback being called and then iterating through the list of vertices of the colliding object and calculating the distance to my haptic probe. But I havent been able to find a mechanism to actually access the list of polygons/vertices of a colliding object to iterate over. Or maybe there is even an easier way in worldviz which I have not discovered yet.

Any advices?

thx in advance,

xaBBu
Reply With Quote
 

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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:29 AM.


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