getPosWorldVisual: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "{{GameCategory|arma3|New Scripting Commands}} {{GameCategory|arma3|Scripting Commands}} {{uc:{{PAGENAME}}}}" to "") |
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
||
Line 24: | Line 24: | ||
|x3 = Wave height under a boat:<code>_h = ((boat [[modelToWorldVisual]] [0,0,0]) [[vectorDiff]] [[getPosWorldVisual]] boat) [[select]] 2;</code> | |x3 = Wave height under a boat:<code>_h = ((boat [[modelToWorldVisual]] [0,0,0]) [[vectorDiff]] [[getPosWorldVisual]] boat) [[select]] 2;</code> | ||
| [[getPosWorld]], [[setPosWorld]], [[visiblePosition]], [[getPosATLVisual]], [[getPosASLVisual]], [[visiblePositionASL]], [[modelToWorldVisual]], [[modelToWorldVisualWorld]] | |seealso= [[getPosWorld]], [[setPosWorld]], [[visiblePosition]], [[getPosATLVisual]], [[getPosASLVisual]], [[visiblePositionASL]], [[modelToWorldVisual]], [[modelToWorldVisualWorld]] | ||
}} | }} |
Revision as of 23:47, 16 February 2021
Description
- Description:
- Description needed
- Groups:
- Object ManipulationRender Time Scope
Syntax
- Syntax:
- Syntax needed
- Parameters:
- object: Object;
- Return Value:
- Return value needed
Examples
- Example 1:
_obj setPosWorld getPosWorldVisual _obj;
- Example 2:
_groundObj modelToWorldVisualWorld [0,0,0] isEqualTo getPosWorldVisual _groundObj; //true
- Example 3:
- Wave height under a boat:
_h = ((boat modelToWorldVisual [0,0,0]) vectorDiff getPosWorldVisual boat) select 2;
Additional Information
- See also:
- getPosWorldsetPosWorldvisiblePositiongetPosATLVisualgetPosASLVisualvisiblePositionASLmodelToWorldVisualmodelToWorldVisualWorld
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