Reply To: Flip front/back and left/right movement freetrack

Homepage Forums Head (only head) tracking Flip front/back and left/right movement freetrack Reply To: Flip front/back and left/right movement freetrack

#1682
CurboSSCurboSS
Participant

I did fix this by changing the freepie script, was too tired last night to notice this was the correct change.

def update():
freeTrack.pitch = -freePieIO[0].pitch
freeTrack.roll = freePieIO[0].roll
freeTrack.yaw = freePieIO[0].yaw

#Multiply by 10 for SteamVR use
freeTrack.x = (freePieIO[0].z * -10)
freeTrack.y = (freePieIO[0].y * 10)
freeTrack.z = (freePieIO[0].x * 10)

if starting:
freePieIO[0].update += update

  • This reply was modified 3 years ago by CurboSSCurboSS.