Jump to content

How to output the pose data to ".txt" file ?


photo

Recommended Posts

In my project ,I need some pose data  ,whilch in need analysis this data by matlab ,so I decied output thoes data to .txt file ,but Idon`t know how to output this data ,Is there related API by UNIGINE script? or have other metholds ?

Link to comment

Hi kongzhifei,

You can use the File class to output any data to a *.txt file, or in case you'll need to create an *.xml file, the Xml class. Both classes are available in C++, C# and UnigineScript API.

The following C++ sample for the File class might also help: <UNIGINE_SDK_folder>/source/samples/Api/Systems/File (or choose Samples -> C++ API -> Systems -> File in the SDK Browser)

Thanks!

Link to comment
×
×
  • Create New...