setMass: 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 23: | Line 23: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[getMass]], [[setCenterOfMass]], [[getCenterOfMass]] |= SEEALSO | ||
| |= MPBEHAVIOUR | | |= MPBEHAVIOUR |
Revision as of 16:42, 4 February 2014
Description
- Description:
- Changes the mass of an object smoothly during the given time (in seconds). A time or Zero means an immediate change.
- Groups:
- Uncategorised
Syntax
- Syntax:
- myObject setMass mass or [mass, time]
- Parameters:
- myObject: Object
- mass or [mass, time]: Number, Array
- Return Value:
- Nothing
Examples
- Example 1:
myObject setMass [10,0.5]
Additional Information
- See also:
- getMasssetCenterOfMassgetCenterOfMass
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