Marker moves in x-direction
Hi everybody,
I've got following problem: I've got a marker and want to cause an action when this marker was moved into x-direction. So how can I measure this marker was moved for e.g. 0.3 in x direction? y- and z- direction are unimportant in this case. Is there any function? Thanks for your help! |
You could get check the position of the marker in Vizard every frame and if the x value is greater than 0.3 you could start the action.
Code:
def checkPosition(): |
Thanks a lot!
This was exactly the answer I wanted to know ;-) |
All times are GMT -7. The time now is 10:47 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC