WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Old 03-10-2009, 10:30 AM
durf durf is offline
Join Date: Feb 2009
Posts: 61
Checking 2 sensors distance from each other

How do you check to see if a sensor is getting close to another sensor.

Like if ppt1 is 3 ft(in real world) or less from ppt2 I want a reaction to happen.
Reply With Quote
Old 03-10-2009, 12:52 PM
Jeff Jeff is offline
WorldViz Team Member
Join Date: Aug 2008
Posts: 2,471
You can use vizmat.Distance to calculate the distance of two points from eachother. You can get the positions of your sensors with a timer, pass them to vizmat.Distance and if its under a certain value have your reaction occur.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
wiimote's distance from screen Debbie Vizard 1 11-17-2008 04:17 PM
Using link to create offsets between sensors Enlil Vizard 2 08-28-2008 11:28 AM
Inter-Camera Distance bstankie Precision Position Tracker (PPT) 1 11-24-2003 10:18 PM
Can I see infinite distance sled Vizard 2 07-16-2003 04:18 PM

All times are GMT -7. The time now is 05:28 AM.

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