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. |
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.
|
All times are GMT -7. The time now is 04:46 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC