iopcure.blogg.se

Facetracknoir ini files
Facetracknoir ini files





facetracknoir ini files

Public class TranslateToCube : MonoBehaviourĪddedPos = Vector3.Lerp(addedPos, (new Vector3(fTInput.X, fTInput.Y, -fTInput.Z) * positionScale), positionLerpRate * ltaTime) Here is a script that works quite nicely for smooth data, it is adapted from the same source. FreeTrack likely not working.") įreeTrackClientDll.FTGetData(ref FreeTrackData) If (!FreeTrackClientDll.FTGetData(ref FreeTrackData))ĭebug.Log("FTGetData returned false. Public static extern string FTProvider() įreeTrackClientDll.FreeTrackData FreeTrackData įreeTrackData = new FreeTrackClientDll.FreeTrackData() Public static extern void FTReportID(Int32 name) Public static extern string FTGetDllVersion() Public static extern bool FTGetData(ref FreeTrackData data) Public class FreeTrackClientDll : MonoBehaviour Go to : C:\Program Files (x86)\Abbequerque Inc\FaceTrackNoIR_v200 And copy : FreeTrackClient64.dll Into your Unity project under : Assets\Plugins Create a script called FreeTrackClientDll and replace its contents with the following : using System The data will need to be smoothed and manipulated to work nicely, it seems very raw at the moment. After much hunting, I found the following source and converted it to work with the 64bit version.







Facetracknoir ini files