awake: 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 3: | Line 3: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 2.08 | |version1= 2.08 | ||
|arg= global | |arg= global | ||
|eff= local | |eff= local | ||
Line 9: | Line 11: | ||
|descr= Wakes up sleeping PhysX object or puts a PhysX object to sleep. | |descr= Wakes up sleeping PhysX object or puts a PhysX object to sleep. | ||
{{Feature | | {{Feature|informative|This command won't have lasting effect on vehicles as vehicles are actively simulated, but it works rather well on smaller PhysX enabled objects.}} | ||
|s1= object [[awake]] awake | |s1= object [[awake]] awake | ||
|p1= object: [[Object]] - PhysX object | |p1= object: [[Object]] - PhysX object | ||
|p2= awake: [[Boolean]] - [[true]] to awake the object, [[false]] - to put to sleep | |p2= awake: [[Boolean]] - [[true]] to awake the object, [[false]] - to put it to sleep | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>_object awake false;</sqf> | ||
|seealso= [[isAwake]] [[addTorque]] [[addForce]] [[vectorModelToWorld]] [[vectorModelToWorldVisual]] [[selectionPosition]] | |seealso= [[isAwake]] [[addTorque]] [[addForce]] [[vectorModelToWorld]] [[vectorModelToWorldVisual]] [[selectionPosition]] | ||
}} | }} |
Revision as of 12:50, 3 May 2022
Description
- Description:
- Wakes up sleeping PhysX object or puts a PhysX object to sleep.
- Groups:
- Object Manipulation
Syntax
- Syntax:
- object awake awake
- Parameters:
- object: Object - PhysX object
- awake: Boolean - true to awake the object, false - to put it to sleep
- Return Value:
- Nothing
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