Problem is im not sure what geometry im using.
Im using whatever is supplied in the OptiTrack sdk. I havent coded any of the vector calculations myself, im using whatever is available in the camera library dll. Its possible im using the wrong functions or settings.
Edit:
Just ran some tests with the vector clip and track clip and got some weird results
Code: Select all
VectorClip:
Yaw, Pitch, Roll
Yaw = +-150, +-20, +-20
Pitch = +-5, +-50, +-5
Roll = +-20, +-20, +-150
TrackClip:
Yaw, Pitch, Roll
Yaw = +-30, +-20, +-50
Pitch = +-5, +60 -20,+-5
Roll = +-10, +-10, +-150
Using the track clip, when looking left and right the roll value was moving alot more than the yaw, looking up and down was ok, the difference was probably due to how i was holding the track clip, roll seemed to be ok.
So im not sure whats going on with that since im using the same function
vecprocessor->GetOrientation(yaw,pitch,roll);
for getting the values on both and the only change is changing
VectorClip to TrackClipPro on
vectorProcessorSettings.Arrangement
Im not sure if theres a correct way to hold the track clip but it seems to work well in all my other trackir enabled games