This wiki is intended for older versions of Motive. For the latest documentation, please refer to

NatNet: Migration to NatNet 3.0 libraries

Main PageNatNet SDKNatNet: Migration to NatNet 3.0 libraries

Page Scope

This page is created to guide help users migrating their NatNet projects onto NatNet 3.0 libraries.

Statically Linked Libraries

NatNet 3.0 no longer allows static linking of the libraries. If a NatNet project was utilizing NatNetLibStatic.lib to accomplish static linking, you will need to make changes to the project configurations, so that it links dynamically instead.


This is only an example. Required configuration changes may be different depending on how the projects were setup.

Visual Studio Example

  • Project Settings → Configuration Properties → C/C++ → Preprocessor Definitions: Add "NATNATLIB_IMPORTS"
  • Project Settings → Configuration Properties → Linker → Input → Additional Dependencies: Change "NatNetLibStatic.lib" to "NatNetLib.lib"
  • Project Settings → Configuration Properties → Linker → General: Make sure the additional library directories includes the directory where the library files are located.

Rigid Body Marker Data

In NatNet 3.0, the structure of rigid body descriptions and rigid body frame data has been slightly modified. The sRigidBodyData:Markers member has been removed, and instead, the rigid body description (sRigidBodyDescription) now includes the expected rigid body marker positions in respect to the corresponding RB orientation axis.

Per-frame positions of rigid body markers have to be derived using the rigid body tracking data and the expected rigid body markers positions included in the description packet.