worldToModel: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also)
No edit summary
Line 17: Line 17:


| [[Array]] |= Return value
| [[Array]] |= Return value
|x1= <code>myObject worldToModel [0,0,0];
</code>|= EXAMPLE1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 05:08, 29 March 2015

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Converts position from world space to object model space.
Groups:
Uncategorised

Syntax

Syntax:
Array = objectName worldToModel worldPos
Parameters:
objectName: Object
worldPos: Array - format PositionAGL
Return Value:
Array

Examples

Example 1:
myObject worldToModel [0,0,0];

Additional Information

See also:
worldToModelVisualmodelToWorld

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

Notes

Bottom Section