getPosWorld: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - " <dl class="command_description"> </dl>" to "")
Line 20: Line 20:
| [[getPosWorldVisual]], [[setPosWorld]], [[position]], [[getPosATL]], [[getPosASL]], [[getPosASLW]], [[visiblePosition]], [[visiblePositionASL]], [[getMarkerPos]], [[modelToWorld]]
| [[getPosWorldVisual]], [[setPosWorld]], [[position]], [[getPosATL]], [[getPosASL]], [[getPosASLW]], [[visiblePosition]], [[visiblePositionASL]], [[getMarkerPos]], [[modelToWorld]]
}}
}}
<dl class="command_description">
</dl>


{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}

Revision as of 20:21, 29 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Positions

Syntax

Syntax:
Syntax needed
Parameters:
object: Object
Return Value:
Return value needed

Examples

Example 1:
_obj setPosWorld getPosWorld _obj;
Example 2:
ATLToASL (_groundObj modelToWorld [0,0,0]) isEqualTo getPosWorld _groundObj; //true
Example 3:
Wave height under a boat:_h = ((boat modelToWorld [0,0,0]) vectorDiff getPosWorld boat) select 2;

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note