isAwake: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (Created page with "{{RV|type=command |game1= arma3 |version1= 2.08 |branch= dev |arg= global |eff= local |gr1= Object Manipulation |descr= Wakes up sleeping PhysX object or puts a PhysX obje...") |
Killzone Kid (talk | contribs) No edit summary |
||
Line 10: | Line 10: | ||
|gr1= Object Manipulation | |gr1= Object Manipulation | ||
|descr= | |descr= Returns resting state of a PhysX object. If object of class <tt>Man</tt> 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 | ||
| | |p1= object: [[Object]] - PhysX object or unit | ||
|r1= [[ | |r1= [[Boolean]] | ||
|x1= <code> | |x1= <code>_isAwake = [[isAwake]] _object;</code> | ||
|seealso= [[ | |seealso= [[awake]] [[addTorque]] [[addForce]] [[vectorModelToWorld]] [[vectorModelToWorldVisual]] [[selectionPosition]] | ||
}} | }} |
Revision as of 12:09, 4 November 2021
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:
_isAwake = isAwake _object;
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