Difference between revisions of "Body:putToSleep"

m (included link to other languages)
(oldin notice.)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{oldin|[[0.8.0]]|080|type=method}}
 
Put the body to sleep.
 
Put the body to sleep.
  
 
A sleeping body is much more efficient to simulate than when awake.
 
A sleeping body is much more efficient to simulate than when awake.
 
  
 
The body will wake up if another body collides with it, if a joint or contact attached to it is destroyed, or if [[Body:wakeUp]] is called.
 
The body will wake up if another body collides with it, if a joint or contact attached to it is destroyed, or if [[Body:wakeUp]] is called.
Line 19: Line 19:
 
* [[parent::Body]]
 
* [[parent::Body]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Put the body to sleep.
+
{{#set:Description=Put the body to sleep.}}
}}
+
{{#set:Since=000}}
  
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|Body:putToSleep}}
 
{{i18n|Body:putToSleep}}

Latest revision as of 18:56, 16 May 2012

Removed in LÖVE 0.8.0
This method is not supported in that and later versions.

Put the body to sleep.

A sleeping body is much more efficient to simulate than when awake.

The body will wake up if another body collides with it, if a joint or contact attached to it is destroyed, or if Body:wakeUp is called.

Function

Synopsis

Body:putToSleep( )

Arguments

None.

Returns

Nothing.

See Also


Other Languages