setCenterOfMass: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |1.02|= Game version ____________________...") |
Killzone Kid (talk | contribs) (see also) |
||
Line 25: | Line 25: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |= SEEALSO | | [[getCenterOfMass]], [[setMass]], [[getMass]] |= SEEALSO | ||
| |= MPBEHAVIOUR | | |= MPBEHAVIOUR |
Revision as of 16:43, 4 February 2014
Description
- Description:
- Changes the center of mass of an object smoothly during the given time (in seconds). A time of zero means an immediate change.
- Groups:
- Uncategorised
Syntax
- Syntax:
- myObject setCenterOfMass [com, time]
- Parameters:
- myObject: Object
- com: vector: Array
- time: Number
- Return Value:
- Nothing
Examples
- Example 1:
myObject setCenterOfMass [[0,-1,0],0.5];
Additional Information
- See also:
- getCenterOfMasssetMassgetMass
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