+1 vote
asked in VRIK by
I can't seem to find any documentation on the vrik calibration controller so I have no idea how it's supposed to be activated and used. I'm guessing on activation you stand in t-pose and it does it's stuff but how do I start it? Is there any documentation on it?
commented by (110 points)

Few additional questions about VRIK Calibration:

- Applied Steam VR_Tracked Object script to each of the Green Mock Trackers. Do we need to reposition them during Runtime as well as do a proper T Pose (fit into Pilot)?

- At Runtime, our trackers appear all over the scene compared to the other demos where they only require minor tweaks to get the positioning right.

- Which direction should the trackers be facing when mounted? (aka which direction for the LED's)

- Is it possible to set this up with a tracker for the head instead of HMD?

Thanks

1 Answer

0 votes
answered by (15.5k points)
Hey,

I've found over the years that the best way of doing documentation is to just write it directly into the tooltips, that way people can get information about a parameter quickly by just hovering over it, so all parameters of VRIK and its calibrator have been tooltipped.

About the calibrator, in the "VRIK (Calibration)" scene, there is an example script for the calibration on the "VRIK Calibration Controller" gameobject. It has declared variable VRIKCalibrator.Settings, that contains all the data and references you'd need for the calibration and references to the head, body and other trackers. If you have that filled in, you can just call the static method VRIKCalibrator.Calibrate():

VRIKCalibrator.Calibrate(ik, settings, headTracker, bodyTracker, leftHandTracker, rightHandTracker, leftFootTracker, rightFootTracker);

...which will do the rest.

So to get started with calibration, I'd suggest you make a copy of the VRIKCalibrationController.cs script, replace the input part "if (Input.GetKeyDown(KeyCode.C/D/S))" with however you wish the calibration to be called and you should be ready to go.

Best,

Pärtel
commented by (110 points)
edited by
Deleting from reply and adding to main thread.

Welcome to RootMotion Q&A, where you can ask questions and receive answers from the developer of Final IK and PuppetMaster and other members of the community.

Post as a guest, create an account or login via Facebook.

Please use the correct category when you post your questions.

...