isAwake

From Bohemia Interactive Community
Revision as of 12:00, 12 May 2022 by Killzone Kid (talk | contribs)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Returns resting state of a PhysX object. If object of class Man is used for the argument and alive, 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

Syntax:
isAwake object
Parameters:
object: Object - PhysX object or unit
Return Value:
Boolean

Examples

Example 1:
private _isAwake = isAwake _object;

Additional Information

See also:
awake addTorque addForce vectorModelToWorld vectorModelToWorldVisual selectionPosition

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