{"name":"BIS_fnc_relPosObject","title":"BIS fnc relPosObject","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_relPosObject","revid":327211,"updated":"2022-07-12T22:11:45Z","groups":["Positions","Geometry"],"status":"ok","games":{"arma3":"1.00"},"since":"arma3 1.00","arma3_since":"1.00","description":"Place an object relative to another object, like a *setRelPos* command.","syntaxes":[{"syntax":"[parent, child, relPos, direction] call BIS_fnc_relPosObject","params":[{"name":"parent","type":"Object","description":"the parent object","type_expr":"Object"},{"name":"child","type":"Object","description":"the child object","type_expr":"Object"},{"name":"relPos","type":"Position","description":"*child* position relative to *parent*","type_expr":"Position"},{"name":"direction","type":"Number","optional":true,"default":"0","description":"direction of the child object","type_expr":"Number","text":"direction: Number - (Optional, default 0) direction of the child object"}],"returns":{"type":"Nothing","type_expr":"Nothing"}}],"examples":[{"code":["[BIS_briefingTable, BIS_map, [0, -0.58, 0.857], 98] call BIS_fnc_relPosObject;"]}],"see_also":["getRelPos","getPos"]}