Orientation selective (Viewing Vector) Proximity Sensor
For a research paradigm I want to implement a proximity sensor that is activated when a subject is looking, facing its heading direction towards a certain object. I could only find the proximity sensor function for certain positions and not orientation.
So I would like something like this: Code:
initialHeadingPole = viz.add('pole.wrl') |
Hi,
you don't need sensors to do that. I would rather use a timer to call a function every frame that constantly checks the view direction and sends a signal when a certain value is reached, e.g.: Code:
import viz |
hi,
thanks, exactly what i needed! |
All times are GMT -7. The time now is 10:52 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC