preEuler not working? or how to teleport subject multiple times
hello everybody i'm a psychology and computerscience student from germany.
so currently for our research project, we are implementing a basic trial in vizard. basiclly whats happening is the following: 1-subject gets set into a specific spot with specific direction 2-subjects orientation gets set into a specific direction 3-subject needs to do something 4- 2 and 3 until loop finishes 5 - 1 till 4 until loop is finished for the experiment we use the PPT and a oculus rift. so we use a code that kinda looks simplified like this: Code:
#first block is linking the HMD and PPT Some days ago everything seemed to work but then i had the problem that the preTrans didn't work with the changed orientation. So i'm currently confused if i understood the methods from the viz module at all or if i'm using a code that is overcomplicating things too much? any hints are welcome |
The solution was, using postEuler on viz.LINK_FULL_OP and instead of moving the subject with a Offset i moved the world of the subject. Now works also with the preTrans.
still don't know why preEuler didn't work but happy with my easy solution :) |
All times are GMT -7. The time now is 07:49 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC