isAwake: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|branch= dev " to "") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 8: | Line 8: | ||
|gr1= Object Manipulation | |gr1= Object Manipulation | ||
|descr= Returns resting state of a PhysX object. If object of class {{hl|Man}} is used for the argument, the command returns [[false]] if ragdoll simulation is active and [[true]] if there is no ragdoll simulation. Destroyed and null objects return [[false]]. | |descr= Returns resting state of a PhysX object. If object of class {{hl|Man}} is used for the argument, the command returns [[false]] if ragdoll simulation is active and [[true]] if there is no ragdoll simulation. | ||
Destroyed and null objects return [[false]]. | |||
|s1= [[isAwake]] object | |s1= [[isAwake]] object | ||
Line 16: | Line 17: | ||
|r1= [[Boolean]] | |r1= [[Boolean]] | ||
|x1= < | |x1= <sqf>private _isAwake = isAwake _object;</sqf> | ||
|seealso= [[awake]] [[addTorque]] [[addForce]] [[vectorModelToWorld]] [[vectorModelToWorldVisual]] [[selectionPosition]] | |seealso= [[awake]] [[addTorque]] [[addForce]] [[vectorModelToWorld]] [[vectorModelToWorldVisual]] [[selectionPosition]] | ||
}} | }} |
Revision as of 12:10, 3 May 2022
Description
- Description:
- Returns resting state of a PhysX object. If object of class Man is used for the argument, the command returns false if ragdoll simulation is active and true if there is no ragdoll simulation. Destroyed and null objects return false.
- Groups:
- Object Manipulation
Syntax
Examples
- Example 1:
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