Difference between revisions of "Body:putToSleep"

m (1 revision: Importing from potato (again).)
m ('wakeup' is a noun)
Line 1: Line 1:
 
 
Put the body to sleep.
 
Put the body to sleep.
  
Line 5: Line 4:
  
  
The body will wakeup 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.
  
 
== Function ==
 
== Function ==

Revision as of 12:15, 6 December 2010

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