modelToWorldVisualWorld

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 1.701.70
Hover & click on the images for descriptions

Description

Description:
Converts position from object model space to world space in render time.

Syntax

Syntax:
obj modelToWorldVisualWorld modelPos
Parameters:
obj: Object
modelPos: Array
Return Value:
Array - World position in format PositionASL

Examples

Example 1:
player modelToWorldVisualWorld [0,1,0]

Additional Information

See also:
modelToWorldWorldmodelToWorldVisualgetPosWorldVisual
Groups:
Object ManipulationRender Time Scope

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Bottom Section


Posted on May 28, 2017 - 22:19 (UTC)
Killzone Kid
This command produces identical result to modelToWorldVisual command used in conjunction with AGLToASL obj modelToWorldVisualWorld [1,2,3] isEqualTo AGLToASL (obj modelToWorldVisual [1,2,3]); // true