![]() |
|
|
Thread Tools
![]() |
Rate Thread
![]() |
Display Modes
![]() |
|
#4
|
|||
|
|||
Jeff,
One more query ,i want to re-apply the same yaw ,pitch to the head tracker but i have to restrict the roll value of the head tracker so that roll doesn't work using the code,but i m not able to get it: #----------Start---------------- def restrictRollFromTracker(): headTracker=vizconnect.getTracker('headtracker') eulrHeadTracker=headTracker.getEuler() yaww=eulrHeadTracker[0] pitchh=eulrHeadTracker[1] headTracker.getNode3d().setEuler([yaww,pitchh,0],viz.ABS_PARENT ) vizact.ontimer(0,restrictRollFromTracker) But i m not able to retrict the roll value of the tracker again.Pls help. #-----End--------------- Waiting for ur reply. Thanx & Regards!!! Mr.Rajnish Vishwakarma Software Developer at Xenium Digital Pvt. Ltd,Mumbai (Customer of world viz) |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
The problem of tracker using via VRPN | _kj_ | Vizard | 2 | 08-13-2009 12:03 AM |
question about yaw, pitch, roll | TunTun | Vizard | 2 | 05-23-2007 12:46 PM |