Mikeeeyy 10 Posted October 24, 2016 private _trans = _obj2 worldToModel [0,0,0]; [ _obj2 worldToModel vectorDir _obj1 vectorDiff _trans, _obj2 worldToModel vectorUp _obj1 vectorDiff _trans ] If position [0,0,0] is in the sea then the relative dir and up that is returned is correct but takes waves into consideration. If you continuously call the BIS fnc attachToRelative function on two objects when [0,0,0] is in the sea you will see the object roll like it's on the sea. I used this function on Arma 2 Chernarus, where [0,0,0] is in the sea. Share this post Link to post Share on other sites
Mikeeeyy 10 Posted October 28, 2016 I got around this by doing this: _trans = _obj2 worldToModel [4658, 10220, 0]; _vDir = vectorDir _obj1; _vUp = vectorUp _obj1; [ [_trans, _obj2 worldToModel [4658 + (_vDir select 0), 10220 + (_vDir select 1), _vDir select 2]] call BIS_fnc_vectorDiff, [_trans, _obj2 worldToModel [4658 + (_vUp select 0), 10220 + (_vUp select 1), _vUp select 2]] call BIS_fnc_vectorDiff ] I just moved the position to an in-land position and it now works fine. Share this post Link to post Share on other sites
killzone_kid 1330 Posted October 28, 2016 Good catch, fix is incoming! Share this post Link to post Share on other sites