Jump to content
Sign in to follow this  
nerod

Movement data structure in BIS_fnc_UnitCapture

Recommended Posts

hello,

 

i'am trying to understand the structure data saved by BIS_fnc_UnitCapture, a single position record looks like this:

[0,[1873.6,6658.26,33.4016],[-0.226097,-0.974104,0.000767057],[-0.00644112,0.00228246,0.999976],[-29.028,-125.069,-1.47116]]

i need to understand every value in order to generate movements (from playing arma or from csv taken from dcs world!..)

 

thanks

Share this post


Link to post
Share on other sites

The source code for BIS_fnc_unitCapture is available through the functions viewer.  The code that does the actual capture is about 20 lines long, but here's the line you want:

[[(_timeCur + _timeOffset), (getPosASL _unit), vectorDir _unit, vectorUp _unit, velocity _unit]]

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×