[TrackIR] How to integrate

Users who are viewing this thread


Hey TaleWorlds!
Bannerlord in 1st person mode is quite fun. Adding TrackIR to it would make it just awesome.
Now, the question is how to integrate it.

Looking at TrackIR SDK for dotnet - it should be pretty straightforward to integrate it in a mod.
The output of it is
Vec3 for camera offset
Vec3 for camera rotation

The main problem is to where these updates should be set.

I've tried _cameraSpecialTargetAddedBearing and _cameraSpecialTargetPositionToAdd - but it only works with 3rd person camera.
Question: is it possible to the offset/rotation for 1st camera, and to which properties?
Top Bottom