TrackIR in «MechWarrior Online»
Posted: Fri Nov 20, 2020 10:03 am
Hello. «MechWarrior Online» has TrackIR support. I don't have TrackIR hardware, so I would like to emulate it using «FreePie». This code was used for test:
However, nothing happens in the game. If I use «OpenTrack» head tracking is worked. However, I don't like the way «OpenTrack» implements the head rotation and therefore I would like to write my script in «FreePie». What's wrong?
Code: Select all
if starting:
yaw = 0
yaw += 0.01
if yaw > 90:
yaw = -90
trackIR.yaw = math.radians(yaw)
diagnostics.watch(trackIR.yaw)