getCenterOfMass: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
Lou Montana (talk | contribs) m (Text replacement - " \| *(\[\[[a-zA-Z ]+\]\].+) \|x1=" to " |r1=$1 |x1=") |
||
Line 13: | Line 13: | ||
|p1= object: [[Object]] - PhysX object | |p1= object: [[Object]] - PhysX object | ||
| [[Array]] - [x,y,z] offset relative to the model centre | |r1=[[Array]] - [x,y,z] offset relative to the model centre | ||
|x1= <code>_com = [[getCenterOfMass]] _myCar;</code> | |x1= <code>_com = [[getCenterOfMass]] _myCar;</code> |
Revision as of 21:46, 10 June 2021
Description
- Description:
- Description needed
- Groups:
- Object Manipulation
Syntax
- Syntax:
- Syntax needed
- Parameters:
- object: Object - PhysX object
- Return Value:
- Array - [x,y,z] offset relative to the model centre
Examples
- Example 1:
_com = getCenterOfMass _myCar;
Additional Information
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